diff options
| author | Josh Driver <keeperofdakeys@gmail.com> | 2016-11-08 23:03:33 +1030 |
|---|---|---|
| committer | Josh Driver <keeperofdakeys@gmail.com> | 2016-11-08 23:03:56 +1030 |
| commit | 134ef4f7933b87efdc04eac3e8d9a530d56d9cfe (patch) | |
| tree | cc06523b6156b87e13ea8e57c4aff813396cc4be /src/test | |
| parent | 31a508e1185713c6e570bb963dd3e097a228957c (diff) | |
| download | rust-134ef4f7933b87efdc04eac3e8d9a530d56d9cfe.tar.gz rust-134ef4f7933b87efdc04eac3e8d9a530d56d9cfe.zip | |
Revert "Point macros 1.1 errors to the input item"
This reverts commit 3784067edcbcd0614f6c4c88f6445ca17ae27ff6. Any errors in the derived output now point at the derive attribute instead of the item.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable-2.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable-2.rs b/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable-2.rs index 23dcbe03b5f..4f4ed90f8fc 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable-2.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable-2.rs @@ -17,8 +17,8 @@ extern crate derive_unstable_2; #[derive(Unstable)] -struct A; //~^ ERROR: reserved for internal compiler +struct A; fn main() { foo(); diff --git a/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable.rs b/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable.rs index fb86f6f1b65..84ac776a765 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable.rs @@ -17,8 +17,8 @@ extern crate derive_unstable; #[derive(Unstable)] -struct A; //~^ ERROR: use of unstable library feature +struct A; fn main() { unsafe { foo(); } |
