about summary refs log tree commit diff
path: root/src/test/ui/allocator
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-07-19 02:10:36 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-07-24 12:29:45 +0300
commit76b1ffaf6c70abd3fa4da2e694dc709116258098 (patch)
tree86f34d3ebbe34aa49072a1447c8adcfc0623a2ce /src/test/ui/allocator
parent433024147ae1e9795fe7e94cb1810a17fd37fa51 (diff)
downloadrust-76b1ffaf6c70abd3fa4da2e694dc709116258098.tar.gz
rust-76b1ffaf6c70abd3fa4da2e694dc709116258098.zip
syntax_ext: Reuse built-in attribute template checking for macro attributes
Diffstat (limited to 'src/test/ui/allocator')
-rw-r--r--src/test/ui/allocator/allocator-args.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/allocator/allocator-args.stderr b/src/test/ui/allocator/allocator-args.stderr
index d8ae7130e5d..dfff2a7e709 100644
--- a/src/test/ui/allocator/allocator-args.stderr
+++ b/src/test/ui/allocator/allocator-args.stderr
@@ -2,7 +2,7 @@ error: malformed `global_allocator` attribute input
   --> $DIR/allocator-args.rs:10:1
    |
 LL | #[global_allocator(malloc)]
-   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: ``#[global_allocator]``
+   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[global_allocator]`
 
 error: aborting due to previous error