summaryrefslogtreecommitdiffstats
path: root/tests/ui/methods/method-call-lifetime-args-unresolved.rs
blob: ba7231070a0f428697d74e17a9b7bf1eda0a0a3e (plain)
1
2
3
4
5
6
fn main() {
    0.clone::<'a>();
    //~^ ERROR use of undeclared lifetime name `'a`
    //~| WARN cannot specify lifetime arguments explicitly if late bound
    //~| WARN this was previously accepted by the compiler
}