blob: 8e6f3b226fc1ea0a9a50f35fd18a914fb2be6015 [file] [log] [blame]
// Test ensuring that `dbg!(expr)` requires the passed type to implement `Debug`.
#![feature(dbg_macro)]
struct NotDebug;
fn main() {
let _: NotDebug = dbg!(NotDebug);
}