]> git.lizzy.rs Git - rust.git/commitdiff
Fix rebase + Add missing `// force-host`
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Fri, 7 Dec 2018 21:53:15 +0000 (00:53 +0300)
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Sun, 9 Dec 2018 18:10:19 +0000 (21:10 +0300)
src/test/ui/proc-macro/auxiliary/edition-imports-2015.rs
src/test/ui/proc-macro/derive-still-gated.stderr

index 5bb818f7d23baedb45e8143997a0949ab5f589db..27c59b805e21328a6fa8f619c3854fc073ef8c5a 100644 (file)
@@ -1,4 +1,5 @@
 // edition:2015
+// force-host
 // no-prefer-dynamic
 
 #![crate_type = "proc-macro"]
index f2e92b992ed6e48c68b104579e1c7d265ad6d065..4e5dd34b004262ce5bd9b6e4cebd29be7e605826 100644 (file)
@@ -1,10 +1,10 @@
-error[E0658]: attributes of the form `#[derive_*]` are reserved for the compiler (see issue #29644)
+error[E0658]: The attribute `derive_A` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
   --> $DIR/derive-still-gated.rs:18:3
    |
-LL | #[derive_A] //~ ERROR: attributes of the form `#[derive_*]` are reserved for the compiler
+LL | #[derive_A] //~ ERROR attribute `derive_A` is currently unknown
    |   ^^^^^^^^
    |
-   = help: add #![feature(custom_derive)] to the crate attributes to enable
+   = help: add #![feature(custom_attribute)] to the crate attributes to enable
 
 error: aborting due to previous error