Update ui tests
This commit is contained in:
parent
d8bf4f19a3
commit
e58e144e66
5 changed files with 30 additions and 3 deletions
|
|
@ -23,4 +23,10 @@ fn main() {
|
|||
<Foo>::trait_bar => {}
|
||||
//~^ ERROR expected unit struct/variant or constant, found method `<Foo>::trait_bar`
|
||||
}
|
||||
if let Foo::bar = 0u32 {}
|
||||
//~^ ERROR expected unit struct/variant or constant, found method `<Foo>::bar`
|
||||
if let <Foo>::bar = 0u32 {}
|
||||
//~^ ERROR expected unit struct/variant or constant, found method `<Foo>::bar`
|
||||
if let Foo::trait_bar = 0u32 {}
|
||||
//~^ ERROR expected unit struct/variant or constant, found method `<Foo>::trait_bar`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue