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

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
}
}