]> git.lizzy.rs Git - rust.git/blob - tests/ui/lifetimes/fullwidth-ampersand.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / ui / lifetimes / fullwidth-ampersand.rs
1 // Verify that we do not ICE when the user uses a multubyte ampersand.
2
3 fn f(_: &&()) -> &() { todo!() }
4 //~^ ERROR unknown start of token: \u{ff06}
5 //~| ERROR missing lifetime specifier [E0106]
6
7 fn main() {}