]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail-fulldeps/rustc-macro/expand-to-unstable-2.rs
Point compile-fail errors to the input item instead of the derive
[rust.git] / src / test / compile-fail-fulldeps / rustc-macro / expand-to-unstable-2.rs
index 29b9fd228094a63717ef53f25203bcf8a8a69e6e..14c3d84e75be351f08c15485322b67073546e480 100644 (file)
@@ -17,8 +17,8 @@
 extern crate derive_unstable_2;
 
 #[derive(Unstable)]
-//~^ ERROR: reserved for internal compiler
 struct A;
+//~^ ERROR: reserved for internal compiler
 
 fn main() {
     foo();