]> git.lizzy.rs Git - rust.git/blob - tests/ui/methods/method-call-lifetime-args-unresolved.rs
Auto merge of #105716 - chriswailes:ndk-update-redux, r=pietroalbini
[rust.git] / tests / ui / methods / method-call-lifetime-args-unresolved.rs
1 fn main() {
2     0.clone::<'a>();
3     //~^ ERROR use of undeclared lifetime name `'a`
4     //~| WARN cannot specify lifetime arguments explicitly if late bound
5     //~| WARN this was previously accepted by the compiler
6 }