rust/tests/pretty/offset_of.rs
Nilstrieb 0dbea7ad54 Close parentheses for offset_of in AST pretty printing
HIR pretty printing already handles it correctly.
2023-04-30 23:29:40 +02:00

5 lines
108 B
Rust

// pp-exact
#![feature(offset_of)]
fn main() { std::mem::offset_of!(std :: ops :: Range < usize >, end); }