mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
9 lines
111 B
Rust
9 lines
111 B
Rust
// run-pass
|
|
// pretty-expanded FIXME #23616
|
|
|
|
fn f<T: 'static>(_x: T) {}
|
|
|
|
pub fn main() {
|
|
f(Box::new(5));
|
|
}
|