Sign in
fuchsia
/
third_party
/
rust
/
3b4b9a4247febf0e71f3480fd34775850b77fea4
/
.
/
src
/
test
/
ui
/
rfc-2361-dbg-macro
/
dbg-macro-requires-debug.rs
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
);
}