Skip to content

Commit 1759cfa

Browse files
committed
Consistent spacing
1 parent a19bbca commit 1759cfa

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/test/compile-fail/associated-types-eq-expr-path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ impl Foo for isize {
2222

2323
pub fn main() {
2424
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
2626
}

src/test/compile-fail/integral-indexing.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ pub fn main() {
2424
s.as_bytes()[3_usize];
2525
s.as_bytes()[3];
2626
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
2828
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
3030
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
3232
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
3434
}

src/test/compile-fail/trait-bounds-not-on-bare-trait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ trait Foo {
1515
// This should emit the less confusing error, not the more confusing one.
1616

1717
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
1919
}
2020

2121
fn main() { }

0 commit comments

Comments
 (0)