Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
conditional-compilation
/
cfg-attr-unknown-attribute-macro-expansion.rs
blob: 45b757e9283024e7621d8401b5bbf4e22ed15825 [
file
] [
log
] [
blame
] [
edit
]
macro_rules
!
foo
{
()
=>
{
#[
cfg_attr
(
all
(),
unknown
)]
//~^ ERROR cannot find attribute `unknown` in this scope
fn
foo
()
{}
}
}
foo
!();
fn
main
()
{}