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 c65adc91784..321cea0d415 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