mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Fixup
This commit is contained in:
parent
d51068ca28
commit
40f39e6c6a
@ -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() {}
|
Loading…
Reference in New Issue
Block a user