File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,13 @@ pub fn f1_int_uint() {
3838pub fn f1_uint_uint ( ) {
3939 f1 ( 2u32 , 4u32 ) ;
4040 //~^ ERROR `u32: Foo` is not satisfied
41+ //~| ERROR `u32: Foo` is not satisfied
4142}
4243
4344pub fn f1_uint_int ( ) {
4445 f1 ( 2u32 , 4i32 ) ;
4546 //~^ ERROR `u32: Foo` is not satisfied
47+ //~| ERROR `u32: Foo` is not satisfied
4648}
4749
4850pub fn f2_int ( ) {
Original file line number Diff line number Diff line change @@ -44,12 +44,18 @@ fn main() {
4444 //~^ ERROR E0277
4545 //~| NOTE trait message
4646 //~| NOTE required by
47+ //~| ERROR E0277
48+ //~| NOTE trait message
4749 Index :: index ( & [ ] as & [ i32 ] , Foo ( 2u32 ) ) ;
4850 //~^ ERROR E0277
4951 //~| NOTE on impl for Foo
5052 //~| NOTE required by
53+ //~| ERROR E0277
54+ //~| NOTE on impl for Foo
5155 Index :: index ( & [ ] as & [ i32 ] , Bar ( 2u32 ) ) ;
5256 //~^ ERROR E0277
5357 //~| NOTE on impl for Bar
5458 //~| NOTE required by
59+ //~| ERROR E0277
60+ //~| NOTE on impl for Bar
5561}
Original file line number Diff line number Diff line change @@ -33,4 +33,6 @@ fn main() {
3333 //~^ ERROR E0277
3434 //~| NOTE a usize is required
3535 //~| NOTE required by
36+ //~| ERROR E0277
37+ //~| NOTE a usize is required
3638}
You can’t perform that action at this time.
0 commit comments