From dab8c0ab28c317f7b9e350a0ba84fd51787f84d6 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sun, 13 May 2018 18:46:38 +0300 Subject: [PATCH] Fix stability annotations for already stable bits of proc macro API 1.1 Remove unnecessary proc-macro-related `feature`s --- src/libproc_macro/lib.rs | 10 +++++----- .../proc-macro/auxiliary/issue_38586.rs | 1 - .../proc-macro/issue-38586.rs | 2 -- .../proc-macro/lints_in_proc_macros.rs | 2 +- .../proc-macro/macro-use-bang.rs | 2 +- .../proc-macro/proc-macro-gates2.rs | 2 +- .../auxiliary/cond_plugin.rs | 2 +- .../auxiliary/hello_macro.rs | 2 +- .../auxiliary/proc_macro_def.rs | 2 +- .../run-pass-fulldeps/macro-quote-cond.rs | 2 +- .../run-pass-fulldeps/macro-quote-test.rs | 2 +- .../proc-macro/auxiliary/derive-attr-cfg.rs | 2 +- .../proc-macro/auxiliary/hygiene_example.rs | 2 +- .../proc-macro/bang-macro.rs | 2 +- .../proc-macro/count_compound_ops.rs | 2 +- .../proc-macro/derive-attr-cfg.rs | 2 +- .../proc-macro/hygiene_example.rs | 2 +- .../proc-macro/issue-39889.rs | 2 +- .../proc-macro/issue-40001.rs | 2 +- .../proc-macro/negative-token.rs | 2 +- .../proc-macro/span-api-tests.rs | 2 +- .../custom-derive/auxiliary/plugin.rs | 1 - .../ui-fulldeps/custom-derive/issue-36935.rs | 2 -- .../custom-derive/issue-36935.stderr | 2 +- src/test/ui-fulldeps/invalid-punct-ident-1.rs | 2 +- src/test/ui-fulldeps/invalid-punct-ident-2.rs | 2 +- src/test/ui-fulldeps/invalid-punct-ident-3.rs | 2 +- src/test/ui-fulldeps/invalid-punct-ident-4.rs | 2 +- .../proc-macro/auxiliary/three-equals.rs | 2 +- .../proc-macro/parent-source-spans.rs | 2 +- .../ui-fulldeps/proc-macro/three-equals.rs | 2 +- src/test/ui-fulldeps/resolve-error.rs | 1 - src/test/ui-fulldeps/resolve-error.stderr | 20 +++++++++---------- 33 files changed, 41 insertions(+), 48 deletions(-) diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs index 267922bf4a1..610a9a2a394 100644 --- a/src/libproc_macro/lib.rs +++ b/src/libproc_macro/lib.rs @@ -73,9 +73,9 @@ use syntax_pos::hygiene::Mark; #[derive(Clone)] pub struct TokenStream(tokenstream::TokenStream); -#[unstable(feature = "proc_macro", issue = "38356")] +#[stable(feature = "proc_macro_lib", since = "1.15.0")] impl !Send for TokenStream {} -#[unstable(feature = "proc_macro", issue = "38356")] +#[stable(feature = "proc_macro_lib", since = "1.15.0")] impl !Sync for TokenStream {} /// Error returned from `TokenStream::from_str`. @@ -85,9 +85,9 @@ pub struct LexError { _inner: (), } -#[unstable(feature = "proc_macro", issue = "38356")] +#[stable(feature = "proc_macro_lib", since = "1.15.0")] impl !Send for LexError {} -#[unstable(feature = "proc_macro", issue = "38356")] +#[stable(feature = "proc_macro_lib", since = "1.15.0")] impl !Sync for LexError {} impl TokenStream { @@ -167,7 +167,7 @@ impl iter::FromIterator for TokenStream { /// A "flattening" operation on token streams, collects token trees /// from multiple token streams into a single stream. -#[unstable(feature = "proc_macro", issue = "38356")] +#[stable(feature = "proc_macro_lib", since = "1.15.0")] impl iter::FromIterator for TokenStream { fn from_iter>(streams: I) -> Self { let mut builder = tokenstream::TokenStreamBuilder::new(); diff --git a/src/test/compile-fail-fulldeps/proc-macro/auxiliary/issue_38586.rs b/src/test/compile-fail-fulldeps/proc-macro/auxiliary/issue_38586.rs index 10da846a86c..e1a7ffaa26c 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/auxiliary/issue_38586.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/auxiliary/issue_38586.rs @@ -11,7 +11,6 @@ // force-host // no-prefer-dynamic -#![feature(proc_macro, proc_macro_lib)] #![crate_type = "proc-macro"] extern crate proc_macro; diff --git a/src/test/compile-fail-fulldeps/proc-macro/issue-38586.rs b/src/test/compile-fail-fulldeps/proc-macro/issue-38586.rs index 1d645a7ec51..2d843d0e466 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/issue-38586.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/issue-38586.rs @@ -11,8 +11,6 @@ // aux-build:issue_38586.rs // ignore-stage1 -#![feature(proc_macro)] - #[macro_use] extern crate issue_38586; diff --git a/src/test/compile-fail-fulldeps/proc-macro/lints_in_proc_macros.rs b/src/test/compile-fail-fulldeps/proc-macro/lints_in_proc_macros.rs index c7be3167947..98e50183097 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/lints_in_proc_macros.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/lints_in_proc_macros.rs @@ -11,7 +11,7 @@ // aux-build:bang_proc_macro2.rs // ignore-stage1 -#![feature(proc_macro, proc_macro_non_items)] +#![feature(use_extern_macros, proc_macro_non_items)] #![allow(unused_macros)] extern crate bang_proc_macro2; diff --git a/src/test/compile-fail-fulldeps/proc-macro/macro-use-bang.rs b/src/test/compile-fail-fulldeps/proc-macro/macro-use-bang.rs index f16ca79ca93..be5b8c39f1d 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/macro-use-bang.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/macro-use-bang.rs @@ -10,7 +10,7 @@ // aux-build:bang_proc_macro.rs -#![feature(proc_macro, proc_macro_non_items)] +#![feature(proc_macro_non_items)] #[macro_use] extern crate bang_proc_macro; diff --git a/src/test/compile-fail-fulldeps/proc-macro/proc-macro-gates2.rs b/src/test/compile-fail-fulldeps/proc-macro/proc-macro-gates2.rs index a1a15afecd5..ef6d4557f4c 100644 --- a/src/test/compile-fail-fulldeps/proc-macro/proc-macro-gates2.rs +++ b/src/test/compile-fail-fulldeps/proc-macro/proc-macro-gates2.rs @@ -10,7 +10,7 @@ // aux-build:proc-macro-gates.rs -#![feature(proc_macro, stmt_expr_attributes)] +#![feature(use_extern_macros, stmt_expr_attributes)] extern crate proc_macro_gates as foo; diff --git a/src/test/run-pass-fulldeps/auxiliary/cond_plugin.rs b/src/test/run-pass-fulldeps/auxiliary/cond_plugin.rs index d669138e320..ec6f54fb137 100644 --- a/src/test/run-pass-fulldeps/auxiliary/cond_plugin.rs +++ b/src/test/run-pass-fulldeps/auxiliary/cond_plugin.rs @@ -33,7 +33,7 @@ pub fn cond(input: TokenStream) -> TokenStream { panic!("Invalid macro usage in cond: {}", cond); } let is_else = match test { - TokenTree::Ident(word) => &*word.to_string() == "else", + TokenTree::Ident(ref word) => &*word.to_string() == "else", _ => false, }; conds.push(if is_else || input.peek().is_none() { diff --git a/src/test/run-pass-fulldeps/auxiliary/hello_macro.rs b/src/test/run-pass-fulldeps/auxiliary/hello_macro.rs index a680698df9a..f026d8e2365 100644 --- a/src/test/run-pass-fulldeps/auxiliary/hello_macro.rs +++ b/src/test/run-pass-fulldeps/auxiliary/hello_macro.rs @@ -11,7 +11,7 @@ // no-prefer-dynamic #![crate_type = "proc-macro"] -#![feature(proc_macro, proc_macro_lib, proc_macro_non_items)] +#![feature(proc_macro, proc_macro_non_items)] extern crate proc_macro; diff --git a/src/test/run-pass-fulldeps/auxiliary/proc_macro_def.rs b/src/test/run-pass-fulldeps/auxiliary/proc_macro_def.rs index a280b3d87c6..9a5bffb92a4 100644 --- a/src/test/run-pass-fulldeps/auxiliary/proc_macro_def.rs +++ b/src/test/run-pass-fulldeps/auxiliary/proc_macro_def.rs @@ -11,7 +11,7 @@ // no-prefer-dynamic #![crate_type = "proc-macro"] -#![feature(proc_macro, proc_macro_lib, proc_macro_non_items)] +#![feature(proc_macro, proc_macro_non_items)] extern crate proc_macro; diff --git a/src/test/run-pass-fulldeps/macro-quote-cond.rs b/src/test/run-pass-fulldeps/macro-quote-cond.rs index 52e8e75f262..f1dcec8af69 100644 --- a/src/test/run-pass-fulldeps/macro-quote-cond.rs +++ b/src/test/run-pass-fulldeps/macro-quote-cond.rs @@ -11,7 +11,7 @@ // aux-build:cond_plugin.rs // ignore-stage1 -#![feature(proc_macro, proc_macro_non_items)] +#![feature(use_extern_macros, proc_macro_non_items)] extern crate cond_plugin; diff --git a/src/test/run-pass-fulldeps/macro-quote-test.rs b/src/test/run-pass-fulldeps/macro-quote-test.rs index f359735d2f7..1f6a340c7e8 100644 --- a/src/test/run-pass-fulldeps/macro-quote-test.rs +++ b/src/test/run-pass-fulldeps/macro-quote-test.rs @@ -13,7 +13,7 @@ // aux-build:hello_macro.rs // ignore-stage1 -#![feature(proc_macro, proc_macro_non_items)] +#![feature(use_extern_macros, proc_macro_non_items)] extern crate hello_macro; diff --git a/src/test/run-pass-fulldeps/proc-macro/auxiliary/derive-attr-cfg.rs b/src/test/run-pass-fulldeps/proc-macro/auxiliary/derive-attr-cfg.rs index 787a4a470e2..2b413579a9a 100644 --- a/src/test/run-pass-fulldeps/proc-macro/auxiliary/derive-attr-cfg.rs +++ b/src/test/run-pass-fulldeps/proc-macro/auxiliary/derive-attr-cfg.rs @@ -9,7 +9,7 @@ // except according to those terms. // no-prefer-dynamic -#![feature(proc_macro)] + #![crate_type = "proc-macro"] extern crate proc_macro; diff --git a/src/test/run-pass-fulldeps/proc-macro/auxiliary/hygiene_example.rs b/src/test/run-pass-fulldeps/proc-macro/auxiliary/hygiene_example.rs index 8ffa7abe6f7..bac6524847a 100644 --- a/src/test/run-pass-fulldeps/proc-macro/auxiliary/hygiene_example.rs +++ b/src/test/run-pass-fulldeps/proc-macro/auxiliary/hygiene_example.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(proc_macro)] +#![feature(use_extern_macros)] extern crate hygiene_example_codegen; diff --git a/src/test/run-pass-fulldeps/proc-macro/bang-macro.rs b/src/test/run-pass-fulldeps/proc-macro/bang-macro.rs index 82337022ac3..f9d17a9decb 100644 --- a/src/test/run-pass-fulldeps/proc-macro/bang-macro.rs +++ b/src/test/run-pass-fulldeps/proc-macro/bang-macro.rs @@ -11,7 +11,7 @@ // aux-build:bang-macro.rs // ignore-stage1 -#![feature(proc_macro, proc_macro_non_items)] +#![feature(use_extern_macros, proc_macro_non_items)] extern crate bang_macro; use bang_macro::rewrite; diff --git a/src/test/run-pass-fulldeps/proc-macro/count_compound_ops.rs b/src/test/run-pass-fulldeps/proc-macro/count_compound_ops.rs index 3fbe5366b6a..f4a51d0624a 100644 --- a/src/test/run-pass-fulldeps/proc-macro/count_compound_ops.rs +++ b/src/test/run-pass-fulldeps/proc-macro/count_compound_ops.rs @@ -11,7 +11,7 @@ // aux-build:count_compound_ops.rs // ignore-stage1 -#![feature(proc_macro, proc_macro_non_items)] +#![feature(use_extern_macros, proc_macro_non_items)] extern crate count_compound_ops; use count_compound_ops::count_compound_ops; diff --git a/src/test/run-pass-fulldeps/proc-macro/derive-attr-cfg.rs b/src/test/run-pass-fulldeps/proc-macro/derive-attr-cfg.rs index b94c45248da..6ef23bc772b 100644 --- a/src/test/run-pass-fulldeps/proc-macro/derive-attr-cfg.rs +++ b/src/test/run-pass-fulldeps/proc-macro/derive-attr-cfg.rs @@ -11,7 +11,7 @@ // aux-build:derive-attr-cfg.rs // ignore-stage1 -#![feature(proc_macro)] +#![feature(use_extern_macros)] extern crate derive_attr_cfg; use derive_attr_cfg::Foo; diff --git a/src/test/run-pass-fulldeps/proc-macro/hygiene_example.rs b/src/test/run-pass-fulldeps/proc-macro/hygiene_example.rs index 48de15b934d..5ee164415a1 100644 --- a/src/test/run-pass-fulldeps/proc-macro/hygiene_example.rs +++ b/src/test/run-pass-fulldeps/proc-macro/hygiene_example.rs @@ -12,7 +12,7 @@ // aux-build:hygiene_example.rs // ignore-stage1 -#![feature(proc_macro, proc_macro_non_items)] +#![feature(use_extern_macros, proc_macro_non_items)] extern crate hygiene_example; use hygiene_example::hello; diff --git a/src/test/run-pass-fulldeps/proc-macro/issue-39889.rs b/src/test/run-pass-fulldeps/proc-macro/issue-39889.rs index 87130242c0f..5b7d8c2b05b 100644 --- a/src/test/run-pass-fulldeps/proc-macro/issue-39889.rs +++ b/src/test/run-pass-fulldeps/proc-macro/issue-39889.rs @@ -11,7 +11,7 @@ // aux-build:issue-39889.rs // ignore-stage1 -#![feature(proc_macro)] +#![feature(use_extern_macros)] #![allow(unused)] extern crate issue_39889; diff --git a/src/test/run-pass-fulldeps/proc-macro/issue-40001.rs b/src/test/run-pass-fulldeps/proc-macro/issue-40001.rs index b7826edd8b4..b828199883f 100644 --- a/src/test/run-pass-fulldeps/proc-macro/issue-40001.rs +++ b/src/test/run-pass-fulldeps/proc-macro/issue-40001.rs @@ -11,7 +11,7 @@ // aux-build:issue-40001-plugin.rs // ignore-stage1 -#![feature(proc_macro, plugin)] +#![feature(plugin)] #![plugin(issue_40001_plugin)] #[whitelisted_attr] diff --git a/src/test/run-pass-fulldeps/proc-macro/negative-token.rs b/src/test/run-pass-fulldeps/proc-macro/negative-token.rs index 1cdf1daf560..a793d069d14 100644 --- a/src/test/run-pass-fulldeps/proc-macro/negative-token.rs +++ b/src/test/run-pass-fulldeps/proc-macro/negative-token.rs @@ -11,7 +11,7 @@ // aux-build:negative-token.rs // ignore-stage1 -#![feature(proc_macro, proc_macro_non_items)] +#![feature(proc_macro_non_items)] extern crate negative_token; diff --git a/src/test/run-pass-fulldeps/proc-macro/span-api-tests.rs b/src/test/run-pass-fulldeps/proc-macro/span-api-tests.rs index c2df561b43a..735e088b82a 100644 --- a/src/test/run-pass-fulldeps/proc-macro/span-api-tests.rs +++ b/src/test/run-pass-fulldeps/proc-macro/span-api-tests.rs @@ -13,7 +13,7 @@ // ignore-pretty -#![feature(proc_macro)] +#![feature(use_extern_macros)] #[macro_use] extern crate span_test_macros; diff --git a/src/test/ui-fulldeps/custom-derive/auxiliary/plugin.rs b/src/test/ui-fulldeps/custom-derive/auxiliary/plugin.rs index c5ba2aa9413..7be909c3c9e 100644 --- a/src/test/ui-fulldeps/custom-derive/auxiliary/plugin.rs +++ b/src/test/ui-fulldeps/custom-derive/auxiliary/plugin.rs @@ -11,7 +11,6 @@ // no-prefer-dynamic #![crate_type = "proc-macro"] -#![feature(proc_macro, proc_macro_lib)] extern crate proc_macro; diff --git a/src/test/ui-fulldeps/custom-derive/issue-36935.rs b/src/test/ui-fulldeps/custom-derive/issue-36935.rs index 4fd87632067..5ec79a55200 100644 --- a/src/test/ui-fulldeps/custom-derive/issue-36935.rs +++ b/src/test/ui-fulldeps/custom-derive/issue-36935.rs @@ -11,8 +11,6 @@ // aux-build:plugin.rs // ignore-stage1 -#![feature(proc_macro)] - #[macro_use] extern crate plugin; #[derive(Foo, Bar)] //~ ERROR proc-macro derive panicked diff --git a/src/test/ui-fulldeps/custom-derive/issue-36935.stderr b/src/test/ui-fulldeps/custom-derive/issue-36935.stderr index 02782569941..ecbe0a9a0c0 100644 --- a/src/test/ui-fulldeps/custom-derive/issue-36935.stderr +++ b/src/test/ui-fulldeps/custom-derive/issue-36935.stderr @@ -1,5 +1,5 @@ error: proc-macro derive panicked - --> $DIR/issue-36935.rs:18:15 + --> $DIR/issue-36935.rs:16:15 | LL | #[derive(Foo, Bar)] //~ ERROR proc-macro derive panicked | ^^^ diff --git a/src/test/ui-fulldeps/invalid-punct-ident-1.rs b/src/test/ui-fulldeps/invalid-punct-ident-1.rs index 95397f490c2..576c156c105 100644 --- a/src/test/ui-fulldeps/invalid-punct-ident-1.rs +++ b/src/test/ui-fulldeps/invalid-punct-ident-1.rs @@ -9,7 +9,7 @@ // except according to those terms. // aux-build:invalid-punct-ident.rs -#![feature(proc_macro)] + #[macro_use] extern crate invalid_punct_ident; diff --git a/src/test/ui-fulldeps/invalid-punct-ident-2.rs b/src/test/ui-fulldeps/invalid-punct-ident-2.rs index 2d9aa69f711..874a7d169d1 100644 --- a/src/test/ui-fulldeps/invalid-punct-ident-2.rs +++ b/src/test/ui-fulldeps/invalid-punct-ident-2.rs @@ -9,7 +9,7 @@ // except according to those terms. // aux-build:invalid-punct-ident.rs -#![feature(proc_macro)] + #[macro_use] extern crate invalid_punct_ident; diff --git a/src/test/ui-fulldeps/invalid-punct-ident-3.rs b/src/test/ui-fulldeps/invalid-punct-ident-3.rs index 3f8b7a32c80..f73bf500545 100644 --- a/src/test/ui-fulldeps/invalid-punct-ident-3.rs +++ b/src/test/ui-fulldeps/invalid-punct-ident-3.rs @@ -9,7 +9,7 @@ // except according to those terms. // aux-build:invalid-punct-ident.rs -#![feature(proc_macro)] + #[macro_use] extern crate invalid_punct_ident; diff --git a/src/test/ui-fulldeps/invalid-punct-ident-4.rs b/src/test/ui-fulldeps/invalid-punct-ident-4.rs index 14b8f658336..1e93c69c650 100644 --- a/src/test/ui-fulldeps/invalid-punct-ident-4.rs +++ b/src/test/ui-fulldeps/invalid-punct-ident-4.rs @@ -9,7 +9,7 @@ // except according to those terms. // aux-build:invalid-punct-ident.rs -#![feature(proc_macro)] + #[macro_use] extern crate invalid_punct_ident; diff --git a/src/test/ui-fulldeps/proc-macro/auxiliary/three-equals.rs b/src/test/ui-fulldeps/proc-macro/auxiliary/three-equals.rs index c6ce26aaa85..8dfb9cb4fb7 100644 --- a/src/test/ui-fulldeps/proc-macro/auxiliary/three-equals.rs +++ b/src/test/ui-fulldeps/proc-macro/auxiliary/three-equals.rs @@ -27,7 +27,7 @@ fn parse(input: TokenStream) -> Result<(), Diagnostic> { .help("input must be: `===`")) } - if let TokenTree::Punct(tt) = tree { + if let TokenTree::Punct(ref tt) = tree { if tt.as_char() == '=' { count += 1; last_span = span; diff --git a/src/test/ui-fulldeps/proc-macro/parent-source-spans.rs b/src/test/ui-fulldeps/proc-macro/parent-source-spans.rs index f938700e515..a60841d848c 100644 --- a/src/test/ui-fulldeps/proc-macro/parent-source-spans.rs +++ b/src/test/ui-fulldeps/proc-macro/parent-source-spans.rs @@ -11,7 +11,7 @@ // aux-build:parent-source-spans.rs // ignore-stage1 -#![feature(proc_macro, decl_macro, proc_macro_non_items)] +#![feature(use_extern_macros, decl_macro, proc_macro_non_items)] extern crate parent_source_spans; diff --git a/src/test/ui-fulldeps/proc-macro/three-equals.rs b/src/test/ui-fulldeps/proc-macro/three-equals.rs index 66e34afcb13..ee5f3b33a06 100644 --- a/src/test/ui-fulldeps/proc-macro/three-equals.rs +++ b/src/test/ui-fulldeps/proc-macro/three-equals.rs @@ -11,7 +11,7 @@ // aux-build:three-equals.rs // ignore-stage1 -#![feature(proc_macro, proc_macro_non_items)] +#![feature(use_extern_macros, proc_macro_non_items)] extern crate three_equals; diff --git a/src/test/ui-fulldeps/resolve-error.rs b/src/test/ui-fulldeps/resolve-error.rs index ae94a7f13e2..9cc825fcddd 100644 --- a/src/test/ui-fulldeps/resolve-error.rs +++ b/src/test/ui-fulldeps/resolve-error.rs @@ -14,7 +14,6 @@ // aux-build:bang_proc_macro.rs #![feature(proc_macro)] -#![allow(unused_macros)] #[macro_use] extern crate derive_foo; diff --git a/src/test/ui-fulldeps/resolve-error.stderr b/src/test/ui-fulldeps/resolve-error.stderr index e19ec9e6f80..caa79664614 100644 --- a/src/test/ui-fulldeps/resolve-error.stderr +++ b/src/test/ui-fulldeps/resolve-error.stderr @@ -1,59 +1,59 @@ error: cannot find derive macro `FooWithLongNan` in this scope - --> $DIR/resolve-error.rs:37:10 + --> $DIR/resolve-error.rs:36:10 | LL | #[derive(FooWithLongNan)] | ^^^^^^^^^^^^^^ help: try: `FooWithLongName` error: cannot find attribute macro `attr_proc_macra` in this scope - --> $DIR/resolve-error.rs:41:3 + --> $DIR/resolve-error.rs:40:3 | LL | #[attr_proc_macra] | ^^^^^^^^^^^^^^^ help: try: `attr_proc_macro` error: cannot find attribute macro `FooWithLongNan` in this scope - --> $DIR/resolve-error.rs:45:3 + --> $DIR/resolve-error.rs:44:3 | LL | #[FooWithLongNan] | ^^^^^^^^^^^^^^ error: cannot find derive macro `Dlone` in this scope - --> $DIR/resolve-error.rs:49:10 + --> $DIR/resolve-error.rs:48:10 | LL | #[derive(Dlone)] | ^^^^^ help: try: `Clone` error: cannot find derive macro `Dlona` in this scope - --> $DIR/resolve-error.rs:53:10 + --> $DIR/resolve-error.rs:52:10 | LL | #[derive(Dlona)] | ^^^^^ help: try: `Clona` error: cannot find derive macro `attr_proc_macra` in this scope - --> $DIR/resolve-error.rs:57:10 + --> $DIR/resolve-error.rs:56:10 | LL | #[derive(attr_proc_macra)] | ^^^^^^^^^^^^^^^ error: cannot find macro `FooWithLongNama!` in this scope - --> $DIR/resolve-error.rs:62:5 + --> $DIR/resolve-error.rs:61:5 | LL | FooWithLongNama!(); | ^^^^^^^^^^^^^^^ help: you could try the macro: `FooWithLongNam` error: cannot find macro `attr_proc_macra!` in this scope - --> $DIR/resolve-error.rs:65:5 + --> $DIR/resolve-error.rs:64:5 | LL | attr_proc_macra!(); | ^^^^^^^^^^^^^^^ help: you could try the macro: `attr_proc_mac` error: cannot find macro `Dlona!` in this scope - --> $DIR/resolve-error.rs:68:5 + --> $DIR/resolve-error.rs:67:5 | LL | Dlona!(); | ^^^^^ error: cannot find macro `bang_proc_macrp!` in this scope - --> $DIR/resolve-error.rs:71:5 + --> $DIR/resolve-error.rs:70:5 | LL | bang_proc_macrp!(); | ^^^^^^^^^^^^^^^ help: you could try the macro: `bang_proc_macro`