]> git.lizzy.rs Git - rust.git/blob - tests/ui/methods/method-call-lifetime-args-unresolved.rs
Rollup merge of #107194 - xfix:remove-slice-internals-dependency-in-rustc-ast, r...
[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 }