rust/tests/ui/lifetimes/raw/prim-lt.rs

9 lines
126 B
Rust
Raw Normal View History

2024-06-13 19:56:28 -05:00
//@ check-pass
//@ edition: 2021
// Checks a primitive name can be defined as a lifetime.
fn foo<'r#i32>() {}
fn main() {}