From e873eef1e37eb45bdafda02ad4a3a4d599cee401 Mon Sep 17 00:00:00 2001 From: Bastian Kauschke Date: Thu, 7 May 2020 10:26:12 +0200 Subject: explicitly handle errors in fulfill --- .../lazy-normalization-feature-gate.stderr | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/test/ui') diff --git a/src/test/ui/const-generics/lazy-normalization/lazy-normalization-feature-gate.stderr b/src/test/ui/const-generics/lazy-normalization/lazy-normalization-feature-gate.stderr index 8a97ec0c5fc..9a7844f5e8f 100644 --- a/src/test/ui/const-generics/lazy-normalization/lazy-normalization-feature-gate.stderr +++ b/src/test/ui/const-generics/lazy-normalization/lazy-normalization-feature-gate.stderr @@ -1,40 +1,40 @@ warning: the feature `const_generics` is incomplete and may cause the compiler to crash - --> $DIR/lazy-normalization-feature-gate-hack.rs:2:12 + --> $DIR/lazy-normalization-feature-gate.rs:2:12 | LL | #![feature(const_generics)] | ^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default -error[E0391]: cycle detected when const-evaluating + checking `::{{constant}}#0` - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:58 +error[E0391]: cycle detected when const-evaluating + checking `::{{constant}}#0` + --> $DIR/lazy-normalization-feature-gate.rs:6:58 | LL | impl Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} | ^^^^^^^^^^ | -note: ...which requires const-evaluating + checking `::{{constant}}#0`... - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:58 +note: ...which requires const-evaluating + checking `::{{constant}}#0`... + --> $DIR/lazy-normalization-feature-gate.rs:6:58 | LL | impl Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} | ^^^^^^^^^^ -note: ...which requires const-evaluating `::{{constant}}#0`... - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:58 +note: ...which requires const-evaluating `::{{constant}}#0`... + --> $DIR/lazy-normalization-feature-gate.rs:6:58 | LL | impl Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} | ^^^^^^^^^^ -note: ...which requires type-checking `::{{constant}}#0`... - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:58 +note: ...which requires type-checking `::{{constant}}#0`... + --> $DIR/lazy-normalization-feature-gate.rs:6:58 | LL | impl Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} | ^^^^^^^^^^ -note: ...which requires processing `::{{constant}}#0`... - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:58 +note: ...which requires processing `::{{constant}}#0`... + --> $DIR/lazy-normalization-feature-gate.rs:6:58 | LL | impl Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} | ^^^^^^^^^^ - = note: ...which again requires const-evaluating + checking `::{{constant}}#0`, completing the cycle -note: cycle used when processing `` - --> $DIR/lazy-normalization-feature-gate-hack.rs:6:1 + = note: ...which again requires const-evaluating + checking `::{{constant}}#0`, completing the cycle +note: cycle used when processing `` + --> $DIR/lazy-normalization-feature-gate.rs:6:1 | LL | impl Foo for [(); N] where Self: FooImpl<{ N == 0 }> {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- cgit 1.4.1-3-g733a5