|
1 | 1 | warning: the feature `const_generics` is incomplete and may cause the compiler to crash |
2 | | - --> $DIR/lazy-normalization-feature-gate-hack.rs:2:12 |
| 2 | + --> $DIR/lazy-normalization-feature-gate.rs:2:12 |
3 | 3 | | |
4 | 4 | LL | #![feature(const_generics)] |
5 | 5 | | ^^^^^^^^^^^^^^ |
6 | 6 | | |
7 | 7 | = note: `#[warn(incomplete_features)]` on by default |
8 | 8 |
|
9 | | -error[E0391]: cycle detected when const-evaluating + checking `<impl at $DIR/lazy-normalization-feature-gate-hack.rs:6:1: 6:72>::{{constant}}#0` |
10 | | - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:58 |
| 9 | +error[E0391]: cycle detected when const-evaluating + checking `<impl at $DIR/lazy-normalization-feature-gate.rs:6:1: 6:72>::{{constant}}#0` |
| 10 | + --> $DIR/lazy-normalization-feature-gate.rs:6:58 |
11 | 11 | | |
12 | 12 | LL | impl<const N: usize> Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} |
13 | 13 | | ^^^^^^^^^^ |
14 | 14 | | |
15 | | -note: ...which requires const-evaluating + checking `<impl at $DIR/lazy-normalization-feature-gate-hack.rs:6:1: 6:72>::{{constant}}#0`... |
16 | | - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:58 |
| 15 | +note: ...which requires const-evaluating + checking `<impl at $DIR/lazy-normalization-feature-gate.rs:6:1: 6:72>::{{constant}}#0`... |
| 16 | + --> $DIR/lazy-normalization-feature-gate.rs:6:58 |
17 | 17 | | |
18 | 18 | LL | impl<const N: usize> Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} |
19 | 19 | | ^^^^^^^^^^ |
20 | | -note: ...which requires const-evaluating `<impl at $DIR/lazy-normalization-feature-gate-hack.rs:6:1: 6:72>::{{constant}}#0`... |
21 | | - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:58 |
| 20 | +note: ...which requires const-evaluating `<impl at $DIR/lazy-normalization-feature-gate.rs:6:1: 6:72>::{{constant}}#0`... |
| 21 | + --> $DIR/lazy-normalization-feature-gate.rs:6:58 |
22 | 22 | | |
23 | 23 | LL | impl<const N: usize> Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} |
24 | 24 | | ^^^^^^^^^^ |
25 | | -note: ...which requires type-checking `<impl at $DIR/lazy-normalization-feature-gate-hack.rs:6:1: 6:72>::{{constant}}#0`... |
26 | | - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:58 |
| 25 | +note: ...which requires type-checking `<impl at $DIR/lazy-normalization-feature-gate.rs:6:1: 6:72>::{{constant}}#0`... |
| 26 | + --> $DIR/lazy-normalization-feature-gate.rs:6:58 |
27 | 27 | | |
28 | 28 | LL | impl<const N: usize> Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} |
29 | 29 | | ^^^^^^^^^^ |
30 | | -note: ...which requires processing `<impl at $DIR/lazy-normalization-feature-gate-hack.rs:6:1: 6:72>::{{constant}}#0`... |
31 | | - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:58 |
| 30 | +note: ...which requires processing `<impl at $DIR/lazy-normalization-feature-gate.rs:6:1: 6:72>::{{constant}}#0`... |
| 31 | + --> $DIR/lazy-normalization-feature-gate.rs:6:58 |
32 | 32 | | |
33 | 33 | LL | impl<const N: usize> Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} |
34 | 34 | | ^^^^^^^^^^ |
35 | | - = note: ...which again requires const-evaluating + checking `<impl at $DIR/lazy-normalization-feature-gate-hack.rs:6:1: 6:72>::{{constant}}#0`, completing the cycle |
36 | | -note: cycle used when processing `<impl at $DIR/lazy-normalization-feature-gate-hack.rs:6:1: 6:72>` |
37 | | - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:1 |
| 35 | + = note: ...which again requires const-evaluating + checking `<impl at $DIR/lazy-normalization-feature-gate.rs:6:1: 6:72>::{{constant}}#0`, completing the cycle |
| 36 | +note: cycle used when processing `<impl at $DIR/lazy-normalization-feature-gate.rs:6:1: 6:72>` |
| 37 | + --> $DIR/lazy-normalization-feature-gate.rs:6:1 |
38 | 38 | | |
39 | 39 | LL | impl<const N: usize> Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} |
40 | 40 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
0 commit comments