rust/tests/ui/rfcs/rfc-2457-non-ascii-idents/no_mangle_nonascii_forbidden.rs
2023-06-05 16:09:46 +00:00

21 lines
353 B
Rust

#[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() {}