about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-03-31 09:07:56 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-03-31 09:11:47 -0700
commit30c247f881a87e40aed30983d4c923efb6148f9b (patch)
treed89fab2e0926fc4d27b20253b1a216690687afd8 /src/test/ui/thinlto
parentee2a9d93e96e2beb608be7936a5651e454ae706a (diff)
downloadrust-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