We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
I tried this code:
#![feature(offset_of)] use std::fmt::Debug; fn main() { core::mem::offset_of!((u8, dyn Debug), 1); }
I expected the compilation to fail since the offset cannot be statically determined. Instead, the compilation succeeds.