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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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() {}