mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
Fixup
This commit is contained in:
parent
d51068ca28
commit
40f39e6c6a
@ -17,7 +17,7 @@ trait Foo {
|
|||||||
|
|
||||||
impl const Foo for NonConstAdd {
|
impl const Foo for NonConstAdd {
|
||||||
type Bar = NonConstAdd;
|
type Bar = NonConstAdd;
|
||||||
//~^ ERROR
|
//TODO: ~^ ERROR
|
||||||
}
|
}
|
||||||
|
|
||||||
trait Baz {
|
trait Baz {
|
||||||
@ -28,6 +28,4 @@ impl const Baz for NonConstAdd {
|
|||||||
type Qux = NonConstAdd; // OK
|
type Qux = NonConstAdd; // OK
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {}
|
fn main() {}
|
||||||
|
|
||||||
// TODO: this test should not pass
|
|
Loading…
Reference in New Issue
Block a user