add error code to test

This commit is contained in:
Niko Matsakis 2016-04-04 12:31:29 -04:00
parent 6a749c7eb1
commit e733b86ae3

View File

@ -28,5 +28,5 @@ fn is_magic1<T: Magic1>() { }
struct NoClone;
fn main() {
is_magic1::<NoClone>();
is_magic1::<NoClone>(); //~ ERROR E0275
}