Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
resolve
/
path-attr-in-const-block.rs
blob: 0ca356b1ddf0baa6a5f2dc47f8ffa2bbafdf1a40 [
file
] [
log
] [
blame
]
// issue#126516
// issue#126647
fn
main
()
{
const
{
#![
path
=
foo
!()]
//~^ ERROR: cannot find macro `foo` in this scope
//~| ERROR: attribute value must be a literal
}
}