1 // aux-build:multispan.rs
2 // compile-flags: --error-format human-annotate-rs -Z unstable-options
4 #![feature(proc_macro_hygiene)]
6 extern crate multispan
;
11 // This one emits no error.
15 hello
!(hi
); //~ ERROR hello to you, too!
17 // Now two, back to back.
18 hello
!(hi hi
); //~ ERROR hello to you, too!
20 // Now three, back to back.
21 hello
!(hi hi hi
); //~ ERROR hello to you, too!
23 // Now several, with spacing.
24 hello
!(hi hey hi yo hi beep beep hi hi
); //~ ERROR hello to you, too!
25 hello
!(hi there
, hi how are you? hi
... hi
.); //~ ERROR hello to you, too!
26 hello
!(whoah
. hi di hi di ho
); //~ ERROR hello to you, too!
27 hello
!(hi good hi and good bye
); //~ ERROR hello to you, too!