diff --git a/src/test/ui/macros/stringify.rs b/src/test/ui/macros/stringify.rs index 90bc7dc1da2..88305d22d77 100644 --- a/src/test/ui/macros/stringify.rs +++ b/src/test/ui/macros/stringify.rs @@ -611,6 +611,12 @@ fn test_item() { ), "pub impl Trait for Struct {}", ); + assert_eq!( + stringify_item!( + impl const Trait for T {} + ), + "impl const Trait for T {}", // FIXME + ); assert_eq!( stringify_item!( impl ~const Struct {}