@@ -374,7 +374,6 @@ impl<'a> Arguments<'a> {
374374 /// valid index of `args`.
375375 /// 3. Every [`Count::Param`] within `fmt` must contain a valid index of
376376 /// `args`.
377- #[ cfg( not( bootstrap) ) ]
378377 #[ doc( hidden) ]
379378 #[ inline]
380379 #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "none" ) ]
@@ -388,19 +387,6 @@ impl<'a> Arguments<'a> {
388387 Arguments { pieces, fmt : Some ( fmt) , args }
389388 }
390389
391- #[ cfg( bootstrap) ]
392- #[ doc( hidden) ]
393- #[ inline]
394- #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "none" ) ]
395- #[ rustc_const_unstable( feature = "const_fmt_arguments_new" , issue = "none" ) ]
396- pub const unsafe fn new_v1_formatted (
397- pieces : & ' a [ & ' static str ] ,
398- args : & ' a [ ArgumentV1 < ' a > ] ,
399- fmt : & ' a [ rt:: v1:: Argument ] ,
400- ) -> Arguments < ' a > {
401- Arguments { pieces, fmt : Some ( fmt) , args }
402- }
403-
404390 /// Estimates the length of the formatted text.
405391 ///
406392 /// This is intended to be used for setting initial `String` capacity
@@ -619,7 +605,7 @@ impl Display for Arguments<'_> {
619605) ]
620606#[ doc( alias = "{:?}" ) ]
621607#[ rustc_diagnostic_item = "Debug" ]
622- #[ cfg_attr ( not ( bootstrap ) , rustc_trivial_field_reads) ]
608+ #[ rustc_trivial_field_reads]
623609pub trait Debug {
624610 /// Formats the value using the given formatter.
625611 ///
0 commit comments