]> git.lizzy.rs Git - rust.git/blob - tests/ui/type/issue-102598.rs
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / ui / type / issue-102598.rs
1 fn foo<'a>(_: impl 'a Sized) {}
2 //~^ ERROR: expected `+` between lifetime and Sized
3 //~| ERROR: expected one of `:`, `@`, or `|`, found `)`
4 //~| ERROR: expected one of `)`, `+`, or `,`, found `Sized`
5 //~| ERROR: at least one trait must be specified
6
7 fn main(){
8 }