Skip to content

Commit e733b86

Browse files
committed
add error code to test
1 parent 6a749c7 commit e733b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/traits-inductive-overflow-auto-normal-auto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ fn is_magic1<T: Magic1>() { }
2828
struct NoClone;
2929

3030
fn main() {
31-
is_magic1::<NoClone>();
31+
is_magic1::<NoClone>(); //~ ERROR E0275
3232
}

0 commit comments

Comments
 (0)