]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-invalid-fragment-spec.rs
Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegen
[rust.git] / src / test / ui / macros / macro-invalid-fragment-spec.rs
1 macro_rules! foo(
2     ($x:foo) => ()
3     //~^ ERROR invalid fragment specifier
4 );
5
6 fn main() {
7     foo!(foo);
8 }