diff options
Diffstat (limited to 'tests/ui/rfc-2361-dbg-macro/dbg-macro-requires-debug.rs')
-rw-r--r-- | tests/ui/rfc-2361-dbg-macro/dbg-macro-requires-debug.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/ui/rfc-2361-dbg-macro/dbg-macro-requires-debug.rs b/tests/ui/rfc-2361-dbg-macro/dbg-macro-requires-debug.rs deleted file mode 100644 index f2fb62d76..000000000 --- a/tests/ui/rfc-2361-dbg-macro/dbg-macro-requires-debug.rs +++ /dev/null @@ -1,7 +0,0 @@ -// Test ensuring that `dbg!(expr)` requires the passed type to implement `Debug`. - -struct NotDebug; - -fn main() { - let _: NotDebug = dbg!(NotDebug); //~ ERROR `NotDebug` doesn't implement `Debug` -} |