Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2a64a2d

Browse files
committedJun 5, 2017
tests: work around fallout from normalizing signatures separately.
1 parent ed711b6 commit 2a64a2d

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed
 

‎src/test/compile-fail/associated-types-path-2.rs

+2
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,13 @@ pub fn f1_int_uint() {
3838
pub fn f1_uint_uint() {
3939
f1(2u32, 4u32);
4040
//~^ ERROR `u32: Foo` is not satisfied
41+
//~| ERROR `u32: Foo` is not satisfied
4142
}
4243

4344
pub fn f1_uint_int() {
4445
f1(2u32, 4i32);
4546
//~^ ERROR `u32: Foo` is not satisfied
47+
//~| ERROR `u32: Foo` is not satisfied
4648
}
4749

4850
pub fn f2_int() {

‎src/test/compile-fail/on-unimplemented/multiple-impls.rs

+6
Original file line numberDiff line numberDiff 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
}

‎src/test/compile-fail/on-unimplemented/on-impl.rs

+2
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)
Please sign in to comment.