diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2021-10-25 13:28:09 +0000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2021-11-29 21:19:48 +0800 |
| commit | 40f39e6c6a97dd3d2313bcd9db42185dd39cfa58 (patch) | |
| tree | 0185db03f39b7bd83d636cde0735678c7d94615a | |
| parent | d51068ca28027d10b280746c7b4ed85f3900feb2 (diff) | |
| download | rust-40f39e6c6a97dd3d2313bcd9db42185dd39cfa58.tar.gz rust-40f39e6c6a97dd3d2313bcd9db42185dd39cfa58.zip | |
Fixup
| -rw-r--r-- | src/test/ui/rfc-2632-const-trait-impl/assoc-type.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/ui/rfc-2632-const-trait-impl/assoc-type.rs b/src/test/ui/rfc-2632-const-trait-impl/assoc-type.rs index c65adc91784..321cea0d415 100644 --- a/src/test/ui/rfc-2632-const-trait-impl/assoc-type.rs +++ b/src/test/ui/rfc-2632-const-trait-impl/assoc-type.rs @@ -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 \ No newline at end of file +fn main() {} \ No newline at end of file |
