]> git.lizzy.rs Git - rust.git/blob - tests/ui/methods/method-call-lifetime-args-unresolved.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[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 }