about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-12-19 11:23:57 -0800
committerEsteban Küber <esteban@kuber.com.ar>2019-12-24 22:25:45 -0800
commit93fb219579b3c012dbef7594b676f62070cd666e (patch)
treeeca7d83099fab7c06d37c99eac3f8f3871b83eb1 /src/test/ui/error-codes
parent245f62eb8a298892618a9d90327663fe932d493a (diff)
downloadrust-93fb219579b3c012dbef7594b676f62070cd666e.tar.gz
rust-93fb219579b3c012dbef7594b676f62070cd666e.zip
Fix suggestion span for typo in associated type name
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0220.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0220.stderr b/src/test/ui/error-codes/E0220.stderr
index 73e66ceb845..4fa83d8bf6e 100644
--- a/src/test/ui/error-codes/E0220.stderr
+++ b/src/test/ui/error-codes/E0220.stderr
@@ -1,8 +1,8 @@
 error[E0220]: associated type `F` not found for `Trait`
-  --> $DIR/E0220.rs:5:16
+  --> $DIR/E0220.rs:5:22
    |
 LL | type Foo = dyn Trait<F=i32>;
-   |                ^^^^^^^^^^^^ associated type `F` not found
+   |                      ^ associated type `F` not found
 
 error[E0191]: the value of the associated type `Bar` (from trait `Trait`) must be specified
   --> $DIR/E0220.rs:5:16