rust/tests/ui/resolve/path-attr-in-const-block.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
149 B
Rust
Raw Normal View History

2024-06-20 06:44:36 -05:00
// issue#126516
// issue#126647
fn main() {
const {
#![path = foo!()]
//~^ ERROR: cannot find macro `foo` in this scope
}
}