@@ -16,35 +16,35 @@ fn foo<'z>() where &'z (): Sized {
1616 let x: ( ) = <i8 as Foo < ' static , ' static , u8 > >:: bar :: < ' static , char > ;
1717 //[verbose]~^ ERROR mismatched types
1818 //[verbose]~| expected unit type `()`
19- //[verbose]~| found fn item `fn() {<i8 as Foo<ReStatic, ReStatic, u8>>::bar::<ReStatic, char>}`
19+ //[verbose]~| found fn item `[fn item {<i8 as Foo<ReStatic, ReStatic, u8>>::bar::<ReStatic, char>}: fn()] `
2020 //[normal]~^^^^ ERROR mismatched types
2121 //[normal]~| expected unit type `()`
22- //[normal]~| found fn item `fn() {<i8 as Foo<'static, 'static, u8>>::bar::<'static, char>}`
22+ //[normal]~| found fn item `[fn item {<i8 as Foo<'static, 'static, u8>>::bar::<'static, char>}: fn()] `
2323
2424
2525 let x: ( ) = <i8 as Foo < ' static , ' static , u32 > >:: bar :: < ' static , char > ;
2626 //[verbose]~^ ERROR mismatched types
2727 //[verbose]~| expected unit type `()`
28- //[verbose]~| found fn item `fn() {<i8 as Foo<ReStatic, ReStatic>>::bar::<ReStatic, char>}`
28+ //[verbose]~| found fn item `[fn item {<i8 as Foo<ReStatic, ReStatic>>::bar::<ReStatic, char>}: fn()] `
2929 //[normal]~^^^^ ERROR mismatched types
3030 //[normal]~| expected unit type `()`
31- //[normal]~| found fn item `fn() {<i8 as Foo<'static, 'static>>::bar::<'static, char>}`
31+ //[normal]~| found fn item `[fn item {<i8 as Foo<'static, 'static>>::bar::<'static, char>}: fn()] `
3232
3333 let x: ( ) = <i8 as Foo < ' static , ' static , u8 > >:: baz;
3434 //[verbose]~^ ERROR mismatched types
3535 //[verbose]~| expected unit type `()`
36- //[verbose]~| found fn item `fn() {<i8 as Foo<ReStatic, ReStatic, u8>>::baz}`
36+ //[verbose]~| found fn item `[fn item {<i8 as Foo<ReStatic, ReStatic, u8>>::baz}: fn()] `
3737 //[normal]~^^^^ ERROR mismatched types
3838 //[normal]~| expected unit type `()`
39- //[normal]~| found fn item `fn() {<i8 as Foo<'static, 'static, u8>>::baz}`
39+ //[normal]~| found fn item `[fn item {<i8 as Foo<'static, 'static, u8>>::baz}: fn()] `
4040
4141 let x: ( ) = foo :: < ' static > ;
4242 //[verbose]~^ ERROR mismatched types
4343 //[verbose]~| expected unit type `()`
44- //[verbose]~| found fn item `fn() {foo::<ReStatic>}`
44+ //[verbose]~| found fn item `[fn item {foo::<ReStatic>}: fn()] `
4545 //[normal]~^^^^ ERROR mismatched types
4646 //[normal]~| expected unit type `()`
47- //[normal]~| found fn item `fn() {foo::<'static>}`
47+ //[normal]~| found fn item `[fn item {foo::<'static>}: fn()] `
4848
4949 <str as Foo < u8 > >:: bar;
5050 //[verbose]~^ ERROR the size for values of type
0 commit comments