rust/tests/ui/rfc-2457/no_mangle_nonascii_forbidden.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
353 B
Rust
Raw Normal View History

#[no_mangle]
pub fn řųśť() {} //~ `#[no_mangle]` requires ASCII identifier
pub struct Foo;
impl Foo {
#[no_mangle]
pub fn řųśť() {} //~ `#[no_mangle]` requires ASCII identifier
}
trait Bar {
fn řųśť();
}
impl Bar for Foo {
#[no_mangle]
fn řųśť() {} //~ `#[no_mangle]` requires ASCII identifier
}
fn main() {}