mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +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() {}
|