mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
8 lines
211 B
Rust
8 lines
211 B
Rust
// Verify that we do not ICE when the user uses a multubyte ampersand.
|
||
|
||
fn f(_: &&()) -> &() { todo!() }
|
||
//~^ ERROR unknown start of token: \u{ff06}
|
||
//~| ERROR missing lifetime specifier [E0106]
|
||
|
||
fn main() {}
|