@@ -276,14 +276,18 @@ impl fmt::Display for PrintableStruct {
276276// ^ punctuation.definition.group.end
277277 write ! ( f, "{:10}" , self . 0 )
278278// ^^^^^ 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
282284// ^^^^^^^^^^^ 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
287291 write ! ( f, "{{}}" , self . 0 )
288292// ^^^^ constant.character.escape.rust
289293 write ! ( get_writer( ) , "{}" , "{}" )
@@ -1045,6 +1049,9 @@ pub fn macro_tests() {
10451049 unreachable!( "{:?}" , e) ;
10461050// ^^^^^^^^^^^^ support.macro.rust
10471051// ^^^^ constant.other.placeholder.rust
1052+ unimplemented!( "{:?}" , e) ;
1053+ // ^^^^^^^^^^^^^^ support.macro.rust
1054+ // ^^^^ constant.other.placeholder.rust
10481055}
10491056
10501057#[ derive( Clone ) ]
0 commit comments