diff options
Diffstat (limited to 'src/test/ui/rfc-2632-const-trait-impl/super-traits-fail-3.nn.stderr')
-rw-r--r-- | src/test/ui/rfc-2632-const-trait-impl/super-traits-fail-3.nn.stderr | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/rfc-2632-const-trait-impl/super-traits-fail-3.nn.stderr b/src/test/ui/rfc-2632-const-trait-impl/super-traits-fail-3.nn.stderr deleted file mode 100644 index d433e1cfa..000000000 --- a/src/test/ui/rfc-2632-const-trait-impl/super-traits-fail-3.nn.stderr +++ /dev/null @@ -1,14 +0,0 @@ -error: ~const can only be applied to `#[const_trait]` traits - --> $DIR/super-traits-fail-3.rs:12:19 - | -LL | trait Bar: ~const Foo {} - | ^^^ - -error: ~const can only be applied to `#[const_trait]` traits - --> $DIR/super-traits-fail-3.rs:15:24 - | -LL | const fn foo<T: ~const Bar>(x: &T) { - | ^^^ - -error: aborting due to 2 previous errors - |