File tree 3 files changed +3
-12
lines changed
rfc1598-generic-associated-types
3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 1
1
type X = u32 <' static >; //~ ERROR E0110
2
2
3
- fn main ( ) {
4
- }
3
+ fn main ( ) { }
Original file line number Diff line number Diff line change 1
- <<<<<<< HEAD
2
1
error[E0110]: lifetime arguments are not allowed on this entity
3
2
--> $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.
11
3
|
12
4
LL | type X = u32<'static>; //~ ERROR E0110
13
5
| ^^^^^^^ lifetime argument not allowed
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ error[E0109]: type arguments are not allowed on this entity
22
22
LL | <<Self as Collection<T>>::Family as CollectionFamily>::Member<U>;
23
23
| ^ type argument not allowed
24
24
25
- error[E0109 ]: type arguments are not allowed on this entity
25
+ error[E0110 ]: lifetime arguments are not allowed on this entity
26
26
--> $DIR/collections.rs:24:50
27
27
|
28
28
LL | fn iterate<'iter>(&'iter self) -> Self::Iter<'iter>;
29
29
| ^^^^^ lifetime argument not allowed
30
30
31
- error[E0109 ]: type arguments are not allowed on this entity
31
+ error[E0110 ]: lifetime arguments are not allowed on this entity
32
32
--> $DIR/collections.rs:50:50
33
33
|
34
34
LL | fn iterate<'iter>(&'iter self) -> Self::Iter<'iter> {
You can’t perform that action at this time.
0 commit comments