add error code to test
This commit is contained in:
parent
6a749c7eb1
commit
e733b86ae3
@ -28,5 +28,5 @@ fn is_magic1<T: Magic1>() { }
|
||||
struct NoClone;
|
||||
|
||||
fn main() {
|
||||
is_magic1::<NoClone>();
|
||||
is_magic1::<NoClone>(); //~ ERROR E0275
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user