mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
7 lines
219 B
Rust
7 lines
219 B
Rust
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
|
|
}
|