]> git.lizzy.rs Git - rust.git/blob - src/test/ui/methods/method-call-lifetime-args-unresolved.rs
Rollup merge of #102781 - StackOverflowExcept1on:master, r=joshtriplett
[rust.git] / src / test / 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 }