Fixup
This commit is contained in:
parent
d51068ca28
commit
40f39e6c6a
1 changed files with 2 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue