]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/macro-invalid-fragment-spec.rs
Rollup merge of #105796 - notriddle:notriddle/rustdoc-search-stop-doing-demerits...
[rust.git] / tests / 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 }