Sign in
rust
/
rust
/
6ea369cfee9420f6fe3f89e4bff7b01ac0ef920d
/
.
/
tests
/
ui
/
attributes
/
crate-type-macro-empty.rs
blob: d55074ed686cb6e2698ff969abff34add52b416f [
file
]
// Tests for the issue in #137589
#[
crate_type
=
foo
!()]
//~^ ERROR cannot find macro `foo` in this scope
//~| ERROR attribute value must be a literal
macro_rules
!
foo
{}
//~ ERROR macros must contain at least one rule
fn
main
()
{}