mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
add error code to test
This commit is contained in:
@@ -28,5 +28,5 @@ fn is_magic1<T: Magic1>() { }
|
||||
struct NoClone;
|
||||
|
||||
fn main() {
|
||||
is_magic1::<NoClone>();
|
||||
is_magic1::<NoClone>(); //~ ERROR E0275
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user