@@ -5,7 +5,7 @@ LL | type Bar<T> where T: ~const Bar;
5
5
| ----------- definition of `Bar` from trait
6
6
...
7
7
LL | type Bar<T> = () where T: const Bar;
8
- | ^^^^^ impl has extra requirement `T: const Bar`
8
+ | ^^^^^^^^^ impl has extra requirement `T: const Bar`
9
9
10
10
error[E0276]: impl has stricter requirements than trait
11
11
--> $DIR/predicate-entailment-fails.rs:17:26
@@ -14,7 +14,7 @@ LL | fn foo<T>() where T: ~const Bar;
14
14
| -------------------------------- definition of `foo` from trait
15
15
...
16
16
LL | fn foo<T>() where T: const Bar {}
17
- | ^^^^^ impl has extra requirement `T: const Bar`
17
+ | ^^^^^^^^^ impl has extra requirement `T: const Bar`
18
18
19
19
error[E0276]: impl has stricter requirements than trait
20
20
--> $DIR/predicate-entailment-fails.rs:28:31
@@ -23,7 +23,7 @@ LL | type Bar<T> where T: Bar;
23
23
| ----------- definition of `Bar` from trait
24
24
...
25
25
LL | type Bar<T> = () where T: const Bar;
26
- | ^^^^^ impl has extra requirement `T: const Bar`
26
+ | ^^^^^^^^^ impl has extra requirement `T: const Bar`
27
27
28
28
error[E0276]: impl has stricter requirements than trait
29
29
--> $DIR/predicate-entailment-fails.rs:31:26
@@ -32,7 +32,7 @@ LL | fn foo<T>() where T: Bar;
32
32
| ------------------------- definition of `foo` from trait
33
33
...
34
34
LL | fn foo<T>() where T: const Bar {}
35
- | ^^^^^ impl has extra requirement `T: const Bar`
35
+ | ^^^^^^^^^ impl has extra requirement `T: const Bar`
36
36
37
37
error[E0276]: impl has stricter requirements than trait
38
38
--> $DIR/predicate-entailment-fails.rs:35:31
@@ -41,7 +41,7 @@ LL | type Bar<T> where T: Bar;
41
41
| ----------- definition of `Bar` from trait
42
42
...
43
43
LL | type Bar<T> = () where T: ~const Bar;
44
- | ^^^^^^ impl has extra requirement `T: ~const Bar`
44
+ | ^^^^^^^^^^ impl has extra requirement `T: ~const Bar`
45
45
46
46
error[E0276]: impl has stricter requirements than trait
47
47
--> $DIR/predicate-entailment-fails.rs:38:26
@@ -50,7 +50,7 @@ LL | fn foo<T>() where T: Bar;
50
50
| ------------------------- definition of `foo` from trait
51
51
...
52
52
LL | fn foo<T>() where T: ~const Bar {}
53
- | ^^^^^^ impl has extra requirement `T: ~const Bar`
53
+ | ^^^^^^^^^^ impl has extra requirement `T: ~const Bar`
54
54
55
55
error: aborting due to 6 previous errors
56
56
0 commit comments