@@ -276,14 +276,18 @@ impl fmt::Display for PrintableStruct {
276
276
// ^ punctuation.definition.group.end
277
277
write ! ( f, "{:10}" , self . 0 )
278
278
// ^^^^^ constant.other.placeholder
279
- write ! ( f, "{:^10}" , self . 0 )
280
- // ^^^^^^ constant.other.placeholder
281
- write ! ( f, "{:+046.89?}" , self . 0 )
279
+ eprint ! ( "{:^10}" , self . 0 )
280
+ // ^^^^^^^ support.macro
281
+ // ^^^^^^ constant.other.placeholder
282
+ eprintln ! ( "{:+046.89?}" , self . 0 )
283
+ // ^^^^^^^^^ support.macro
282
284
// ^^^^^^^^^^^ constant.other.placeholder
283
- write ! ( f, "{:-^#10x}" , self . 0 )
284
- // ^^^^^^^^^ constant.other.placeholder
285
- write ! ( f, "{4j:#xf10}" , self . 0 )
286
- // ^^^^^^^^^^ string.quoted.double
285
+ assert ! ( true , "{:-^#10x}" , self . 0 )
286
+ // ^^^^^^^ support.macro
287
+ // ^^^^^^^^^ constant.other.placeholder
288
+ debug_assert ! ( true , "{4j:#xf10}" , self . 0 )
289
+ // ^^^^^^^^^^^^^ support.macro
290
+ // ^^^^^^^^^^ string.quoted.double
287
291
write ! ( f, "{{}}" , self . 0 )
288
292
// ^^^^ constant.character.escape.rust
289
293
write ! ( get_writer( ) , "{}" , "{}" )
@@ -1045,6 +1049,9 @@ pub fn macro_tests() {
1045
1049
unreachable!( "{:?}" , e) ;
1046
1050
// ^^^^^^^^^^^^ support.macro.rust
1047
1051
// ^^^^ constant.other.placeholder.rust
1052
+ unimplemented!( "{:?}" , e) ;
1053
+ // ^^^^^^^^^^^^^^ support.macro.rust
1054
+ // ^^^^ constant.other.placeholder.rust
1048
1055
}
1049
1056
1050
1057
#[ derive( Clone ) ]
0 commit comments