diff options
Diffstat (limited to 'tests/ui/annotate-snippet')
| -rw-r--r-- | tests/ui/annotate-snippet/auxiliary/multispan.rs | 4 | ||||
| -rw-r--r-- | tests/ui/annotate-snippet/missing-type.rs | 4 | ||||
| -rw-r--r-- | tests/ui/annotate-snippet/multiple-files.rs | 4 | ||||
| -rw-r--r-- | tests/ui/annotate-snippet/multispan.rs | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/tests/ui/annotate-snippet/auxiliary/multispan.rs b/tests/ui/annotate-snippet/auxiliary/multispan.rs index c05d15643db..b5f1ed9b56a 100644 --- a/tests/ui/annotate-snippet/auxiliary/multispan.rs +++ b/tests/ui/annotate-snippet/auxiliary/multispan.rs @@ -1,5 +1,5 @@ -// force-host -// no-prefer-dynamic +//@ force-host +//@ no-prefer-dynamic #![crate_type = "proc-macro"] #![feature(proc_macro_diagnostic, proc_macro_span, proc_macro_def_site)] diff --git a/tests/ui/annotate-snippet/missing-type.rs b/tests/ui/annotate-snippet/missing-type.rs index f5facc16b31..ea1c2521103 100644 --- a/tests/ui/annotate-snippet/missing-type.rs +++ b/tests/ui/annotate-snippet/missing-type.rs @@ -1,5 +1,5 @@ -// compile-flags: --error-format human-annotate-rs -Z unstable-options -// error-pattern:cannot find type `Iter` in this scope +//@ compile-flags: --error-format human-annotate-rs -Z unstable-options +//@ error-pattern:cannot find type `Iter` in this scope pub fn main() { let x: Iter; diff --git a/tests/ui/annotate-snippet/multiple-files.rs b/tests/ui/annotate-snippet/multiple-files.rs index 981cdbb10a9..c67a31d8f07 100644 --- a/tests/ui/annotate-snippet/multiple-files.rs +++ b/tests/ui/annotate-snippet/multiple-files.rs @@ -1,5 +1,5 @@ -// aux-build:other_file.rs -// compile-flags: --error-format human-annotate-rs -Z unstable-options +//@ aux-build:other_file.rs +//@ compile-flags: --error-format human-annotate-rs -Z unstable-options extern crate other_file; diff --git a/tests/ui/annotate-snippet/multispan.rs b/tests/ui/annotate-snippet/multispan.rs index d7241b80364..c9ec4043e37 100644 --- a/tests/ui/annotate-snippet/multispan.rs +++ b/tests/ui/annotate-snippet/multispan.rs @@ -1,6 +1,6 @@ -// aux-build:multispan.rs -// error-pattern:hello to you, too! -// compile-flags: --error-format human-annotate-rs -Z unstable-options +//@ aux-build:multispan.rs +//@ error-pattern:hello to you, too! +//@ compile-flags: --error-format human-annotate-rs -Z unstable-options #![feature(proc_macro_hygiene)] |
