This commit is contained in:
Oli Scherer 2021-10-25 13:28:09 +00:00 committed by Deadbeef
parent d51068ca28
commit 40f39e6c6a
No known key found for this signature in database
GPG Key ID: 6D017A96D8E6C2F9

View File

@ -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
fn main() {}