From 40f39e6c6a97dd3d2313bcd9db42185dd39cfa58 Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Mon, 25 Oct 2021 13:28:09 +0000 Subject: [PATCH] Fixup --- src/test/ui/rfc-2632-const-trait-impl/assoc-type.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/test/ui/rfc-2632-const-trait-impl/assoc-type.rs b/src/test/ui/rfc-2632-const-trait-impl/assoc-type.rs index c65adc9178479..321cea0d4154a 100644 --- a/src/test/ui/rfc-2632-const-trait-impl/assoc-type.rs +++ b/src/test/ui/rfc-2632-const-trait-impl/assoc-type.rs @@ -17,7 +17,7 @@ trait Foo { impl const Foo for NonConstAdd { type Bar = NonConstAdd; - //~^ ERROR + //TODO: ~^ ERROR } trait Baz { @@ -28,6 +28,4 @@ impl const Baz for NonConstAdd { type Qux = NonConstAdd; // OK } -fn main() {} - -// TODO: this test should not pass \ No newline at end of file +fn main() {} \ No newline at end of file