about summary refs log tree commit diff
path: root/src/test/ui/rust-2018
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-03-10 16:20:15 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-03-23 13:05:29 -0700
commit1b0ab0b8a9847efcf6428aa5f1db359a41fbdfed (patch)
tree68d686ac16277fc399ff5bd448f37fbb90ab69a3 /src/test/ui/rust-2018
parent0f118f6a6c8fda5101f956243c716632a56f5188 (diff)
downloadrust-1b0ab0b8a9847efcf6428aa5f1db359a41fbdfed.tar.gz
rust-1b0ab0b8a9847efcf6428aa5f1db359a41fbdfed.zip
Tweak spans for E0599
Diffstat (limited to 'src/test/ui/rust-2018')
-rw-r--r--src/test/ui/rust-2018/trait-import-suggestions.stderr4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/ui/rust-2018/trait-import-suggestions.stderr b/src/test/ui/rust-2018/trait-import-suggestions.stderr
index e2ffeaee4b4..a81181228df 100644
--- a/src/test/ui/rust-2018/trait-import-suggestions.stderr
+++ b/src/test/ui/rust-2018/trait-import-suggestions.stderr
@@ -30,9 +30,7 @@ error[E0599]: no function or associated item named `from_str` found for type `u3
   --> $DIR/trait-import-suggestions.rs:30:18
    |
 LL |     let y = u32::from_str("33");
-   |             -----^^^^^^^^
-   |             |
-   |             function or associated item not found in `u32`
+   |                  ^^^^^^^^ function or associated item not found in `u32`
    |
    = help: items from traits can only be used if the trait is in scope
 help: the following trait is implemented but not in scope, perhaps add a `use` for it: