File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ impl Foo for isize {
22
22
23
23
pub fn main ( ) {
24
24
let x: isize = Foo :: < A =usize > :: bar ( ) ;
25
- //~^ERROR unexpected binding of associated item in expression path
25
+ //~^ ERROR unexpected binding of associated item in expression path
26
26
}
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ pub fn main() {
24
24
s. as_bytes ( ) [ 3_usize ] ;
25
25
s. as_bytes ( ) [ 3 ] ;
26
26
s. as_bytes ( ) [ 3u8 ] ; //~ERROR the trait `core::ops::Index<u8>` is not implemented
27
- //~^ERROR the trait `core::ops::Index<u8>` is not implemented
27
+ //~^ ERROR the trait `core::ops::Index<u8>` is not implemented
28
28
s. as_bytes ( ) [ 3i8 ] ; //~ERROR the trait `core::ops::Index<i8>` is not implemented
29
- //~^ERROR the trait `core::ops::Index<i8>` is not implemented
29
+ //~^ ERROR the trait `core::ops::Index<i8>` is not implemented
30
30
s. as_bytes ( ) [ 3u32 ] ; //~ERROR the trait `core::ops::Index<u32>` is not implemented
31
- //~^ERROR the trait `core::ops::Index<u32>` is not implemented
31
+ //~^ ERROR the trait `core::ops::Index<u32>` is not implemented
32
32
s. as_bytes ( ) [ 3i32 ] ; //~ERROR the trait `core::ops::Index<i32>` is not implemented
33
- //~^ERROR the trait `core::ops::Index<i32>` is not implemented
33
+ //~^ ERROR the trait `core::ops::Index<i32>` is not implemented
34
34
}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ trait Foo {
15
15
// This should emit the less confusing error, not the more confusing one.
16
16
17
17
fn foo ( _x : Foo + Send ) {
18
- //~^ERROR the trait `core::marker::Sized` is not implemented
18
+ //~^ ERROR the trait `core::marker::Sized` is not implemented
19
19
}
20
20
21
21
fn main ( ) { }
You can’t perform that action at this time.
0 commit comments