Skip to content

Commit a4fa7ef

Browse files
author
Alexander Regueiro
committed
Fixed stderr files for ui tests.
1 parent 5adf8c3 commit a4fa7ef

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

src/test/ui/error-codes/E0110.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
type X = u32<'static>; //~ ERROR E0110
22

3-
fn main() {
4-
}
3+
fn main() {}

src/test/ui/error-codes/E0110.stderr

-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
<<<<<<< HEAD
21
error[E0110]: lifetime arguments are not allowed on this entity
32
--> $DIR/E0110.rs:1:14
4-
||||||| merged common ancestors
5-
error[E0110]: lifetime parameters are not allowed on this type
6-
--> $DIR/E0110.rs:11:14
7-
=======
8-
error[E0110]: lifetime arguments are not allowed on this entity
9-
--> $DIR/E0110.rs:11:14
10-
>>>>>>> Added regression test for using generic parameters on modules.
113
|
124
LL | type X = u32<'static>; //~ ERROR E0110
135
| ^^^^^^^ lifetime argument not allowed

src/test/ui/rfc1598-generic-associated-types/collections.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ error[E0109]: type arguments are not allowed on this entity
2222
LL | <<Self as Collection<T>>::Family as CollectionFamily>::Member<U>;
2323
| ^ type argument not allowed
2424

25-
error[E0109]: type arguments are not allowed on this entity
25+
error[E0110]: lifetime arguments are not allowed on this entity
2626
--> $DIR/collections.rs:24:50
2727
|
2828
LL | fn iterate<'iter>(&'iter self) -> Self::Iter<'iter>;
2929
| ^^^^^ lifetime argument not allowed
3030

31-
error[E0109]: type arguments are not allowed on this entity
31+
error[E0110]: lifetime arguments are not allowed on this entity
3232
--> $DIR/collections.rs:50:50
3333
|
3434
LL | fn iterate<'iter>(&'iter self) -> Self::Iter<'iter> {

0 commit comments

Comments
 (0)