@@ -374,7 +374,6 @@ impl<'a> Arguments<'a> {
374
374
/// valid index of `args`.
375
375
/// 3. Every [`Count::Param`] within `fmt` must contain a valid index of
376
376
/// `args`.
377
- #[ cfg( not( bootstrap) ) ]
378
377
#[ doc( hidden) ]
379
378
#[ inline]
380
379
#[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "none" ) ]
@@ -388,19 +387,6 @@ impl<'a> Arguments<'a> {
388
387
Arguments { pieces, fmt : Some ( fmt) , args }
389
388
}
390
389
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
-
404
390
/// Estimates the length of the formatted text.
405
391
///
406
392
/// This is intended to be used for setting initial `String` capacity
@@ -619,7 +605,7 @@ impl Display for Arguments<'_> {
619
605
) ]
620
606
#[ doc( alias = "{:?}" ) ]
621
607
#[ rustc_diagnostic_item = "Debug" ]
622
- #[ cfg_attr ( not ( bootstrap ) , rustc_trivial_field_reads) ]
608
+ #[ rustc_trivial_field_reads]
623
609
pub trait Debug {
624
610
/// Formats the value using the given formatter.
625
611
///
0 commit comments