Skip to content

Commit 575b643

Browse files
Move and rename the clone-never.rs test
1 parent 39ef8aa commit 575b643

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

tests/ui/type/never-type-inference-fail.rs renamed to tests/ui/never_type/basic/clone-never.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//! regression test for issue #2151
2-
31
fn main() {
42
let x = panic!(); //~ ERROR type annotations needed
53
x.clone();

tests/ui/type/never-type-inference-fail.stderr renamed to tests/ui/never_type/basic/clone-never.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0282]: type annotations needed
2-
--> $DIR/never-type-inference-fail.rs:4:9
2+
--> $DIR/clone-never.rs:2:9
33
|
44
LL | let x = panic!();
55
| ^

0 commit comments

Comments
 (0)