diff options
| author | Esteban Kuber <esteban@kuber.com.ar> | 2022-03-27 02:02:07 +0000 |
|---|---|---|
| committer | Esteban Kuber <esteban@kuber.com.ar> | 2022-04-04 21:06:35 +0000 |
| commit | 3109c931b495f72fb9758bef15d38aeedc354ca1 (patch) | |
| tree | 105b07d3e51519c4cba267b7fa7e0bfe640d5835 /src/test/ui/try-trait | |
| parent | ef91519b45d2bbf0ce8c0180118160562eaaa0ca (diff) | |
Refer to the TraitRef::identity in the message to be clearer
Diffstat (limited to 'src/test/ui/try-trait')
| -rw-r--r-- | src/test/ui/try-trait/bad-interconversion.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/try-trait/bad-interconversion.stderr b/src/test/ui/try-trait/bad-interconversion.stderr index 1b46252ae89..1a4105231dc 100644 --- a/src/test/ui/try-trait/bad-interconversion.stderr +++ b/src/test/ui/try-trait/bad-interconversion.stderr @@ -7,7 +7,7 @@ LL | Ok(Err(123_i32)?) | ^ the trait `From<i32>` is not implemented for `u8` | = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait - = help: the following other types implement trait `From<bool>`: + = help: the following other types implement trait `From<T>`: <f32 as From<i16>> <f32 as From<i8>> <f32 as From<u16>> |
