diff options
| author | Esteban Kuber <esteban@kuber.com.ar> | 2021-08-10 10:53:43 +0000 |
|---|---|---|
| committer | Esteban Kuber <esteban@kuber.com.ar> | 2021-08-12 09:52:38 +0000 |
| commit | 34d19634f5ae448ff3fb281b22306cc8cfa3ee8c (patch) | |
| tree | 05bbd5cfee8adc8e69a6175675107ea2e9d345bf /src/test/ui/methods | |
| parent | eb2226b1f174f3cc644275ef8663be6295a7f704 (diff) | |
| download | rust-34d19634f5ae448ff3fb281b22306cc8cfa3ee8c.tar.gz rust-34d19634f5ae448ff3fb281b22306cc8cfa3ee8c.zip | |
Use smaller spans for some structured suggestions
Use more accurate suggestion spans for * argument parse error * fully qualified path * missing code block type * numeric casts * E0212
Diffstat (limited to 'src/test/ui/methods')
| -rw-r--r-- | src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr b/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr index e725e74efc2..4b494c96115 100644 --- a/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr +++ b/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr @@ -17,7 +17,7 @@ LL | let y: usize = x.foo(); help: you can convert an `isize` to a `usize` and panic if the converted value doesn't fit | LL | let y: usize = x.foo().try_into().unwrap(); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | ++++++++++++++++++++ error: aborting due to 2 previous errors |
