]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetimes/fullwidth-ampersand.rs
Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23
[rust.git] / src / test / 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() {}