summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/auxiliary/derive-b-rpass.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/proc-macro/auxiliary/derive-b-rpass.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/proc-macro/auxiliary/derive-b-rpass.rs b/tests/ui/proc-macro/auxiliary/derive-b-rpass.rs
index 641a95f78..3e6af67a9 100644
--- a/tests/ui/proc-macro/auxiliary/derive-b-rpass.rs
+++ b/tests/ui/proc-macro/auxiliary/derive-b-rpass.rs
@@ -10,7 +10,7 @@ use proc_macro::TokenStream;
#[proc_macro_derive(B, attributes(B, C))]
pub fn derive(input: TokenStream) -> TokenStream {
let input = input.to_string();
- assert!(input.contains("#[B [arbitrary tokens]]"));
+ assert!(input.contains("#[B[arbitrary tokens]]"));
assert!(input.contains("struct B {"));
assert!(input.contains("#[C]"));
"".parse().unwrap()