summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0118.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/E0118.stderr')
-rw-r--r--tests/ui/error-codes/E0118.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/error-codes/E0118.stderr b/tests/ui/error-codes/E0118.stderr
index 8c6fa7947..442f8a4f8 100644
--- a/tests/ui/error-codes/E0118.stderr
+++ b/tests/ui/error-codes/E0118.stderr
@@ -1,8 +1,8 @@
error[E0118]: no nominal type found for inherent implementation
- --> $DIR/E0118.rs:1:9
+ --> $DIR/E0118.rs:1:1
|
LL | impl<T> T {
- | ^ impl requires a nominal type
+ | ^^^^^^^^^ impl requires a nominal type
|
= note: either implement a trait on it or create a newtype to wrap it instead