summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2632-const-trait-impl/super-traits-fail-3.yn.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rfc-2632-const-trait-impl/super-traits-fail-3.yn.stderr')
-rw-r--r--tests/ui/rfc-2632-const-trait-impl/super-traits-fail-3.yn.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/rfc-2632-const-trait-impl/super-traits-fail-3.yn.stderr b/tests/ui/rfc-2632-const-trait-impl/super-traits-fail-3.yn.stderr
index e5978c12a..7a152914b 100644
--- a/tests/ui/rfc-2632-const-trait-impl/super-traits-fail-3.yn.stderr
+++ b/tests/ui/rfc-2632-const-trait-impl/super-traits-fail-3.yn.stderr
@@ -1,5 +1,5 @@
error: ~const can only be applied to `#[const_trait]` traits
- --> $DIR/super-traits-fail-3.rs:15:24
+ --> $DIR/super-traits-fail-3.rs:16:24
|
LL | const fn foo<T: ~const Bar>(x: &T) {
| ^^^