diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-03-31 09:07:56 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-03-31 09:11:47 -0700 |
| commit | 30c247f881a87e40aed30983d4c923efb6148f9b (patch) | |
| tree | d89fab2e0926fc4d27b20253b1a216690687afd8 /src/test/ui/thinlto | |
| parent | ee2a9d93e96e2beb608be7936a5651e454ae706a (diff) | |
| download | rust-30c247f881a87e40aed30983d4c923efb6148f9b.tar.gz rust-30c247f881a87e40aed30983d4c923efb6148f9b.zip | |
Suggest using anonymous lifetime in `impl Trait` return without hacks
Fallback to `static_impl_trait` for nice error message by peeking at the return type and the lifetime type. Point at the return type instead of the return expr/stmt in NLL mode.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
