diff options
Diffstat (limited to 'tests/ui/rfcs/rfc-2361-dbg-macro/dbg-macro-requires-debug.rs')
| -rw-r--r-- | tests/ui/rfcs/rfc-2361-dbg-macro/dbg-macro-requires-debug.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/rfcs/rfc-2361-dbg-macro/dbg-macro-requires-debug.rs b/tests/ui/rfcs/rfc-2361-dbg-macro/dbg-macro-requires-debug.rs index f2fb62d76f3..fe71f106fdf 100644 --- a/tests/ui/rfcs/rfc-2361-dbg-macro/dbg-macro-requires-debug.rs +++ b/tests/ui/rfcs/rfc-2361-dbg-macro/dbg-macro-requires-debug.rs @@ -1,4 +1,7 @@ // Test ensuring that `dbg!(expr)` requires the passed type to implement `Debug`. +// +// `dbg!` shouldn't tell the user about format literal syntax; the user didn't write one. +//@ forbid-output: cannot be formatted using struct NotDebug; |
