rustc/tests/ui/resolve/path-attr-in-const-block.rs
2024-10-21 11:08:01 +02:00

10 lines
149 B
Rust

// issue#126516
// issue#126647
fn main() {
const {
#![path = foo!()]
//~^ ERROR: cannot find macro `foo` in this scope
}
}