summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/issue-41211.rs
blob: 072a63baf3a47ff519856e31f18c814b64ccebe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// aux-build:test-macros.rs

// FIXME: https://github.com/rust-lang/rust/issues/41430
// This is a temporary regression test for the ICE reported in #41211

#![feature(custom_inner_attributes)]
#![feature(register_attr)]

#![register_attr(identity_attr)]

#![identity_attr]
//~^ ERROR `identity_attr` is ambiguous
extern crate test_macros;
use test_macros::identity_attr;

fn main() {}