Sign in
rust
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
attributes
/
unsafe
/
double-unsafe-attributes.rs
blob: 894d1327da79953d471028d8f2d77bdc3591fdfe [
file
] [
log
] [
blame
]
#[
unsafe
(
unsafe
(
no_mangle
))]
//~^ ERROR expected identifier, found keyword `unsafe`
//~| ERROR cannot find attribute `r#unsafe` in this scope
//~| ERROR `r#unsafe` is not an unsafe attribute
fn
a
()
{}
fn
main
()
{}