mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +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() {}
|