Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Error code E0754

A non-ASCII identifier was used in an invalid context.

Erroneous code examples:


mod řųśť; // error!

#[no_mangle]
fn řųśť() {} // error!

fn main() {}

Non-ASCII can be used as module names if it is inlined or if a #[path] attribute is specified. For example:

mod řųśť { // ok!
    const IS_GREAT: bool = true;
}

fn main() {}