Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk authored and fee1-dead committed Nov 29, 2021
1 parent d51068c commit 40f39e6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/test/ui/rfc-2632-const-trait-impl/assoc-type.rs
Expand Up @@ -17,7 +17,7 @@ trait Foo {

impl const Foo for NonConstAdd {
type Bar = NonConstAdd;
//~^ ERROR
//TODO: ~^ ERROR
}

trait Baz {
Expand All @@ -28,6 +28,4 @@ impl const Baz for NonConstAdd {
type Qux = NonConstAdd; // OK
}

fn main() {}

// TODO: this test should not pass
fn main() {}

0 comments on commit 40f39e6

Please sign in to comment.