Skip to content

Commit

Permalink
Revert "Rollup merge of rust-lang#127107 - mu001999-contrib:dead/enha…
Browse files Browse the repository at this point in the history
…nce-2, r=pnkfelix"

This reverts commit 31fe962, reversing
changes made to f203078.
  • Loading branch information
compiler-errors committed Aug 3, 2024
1 parent 0e4358d commit 9eb9fa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ use crate::ascii::Char as AsciiChar;
/// ```
#[cfg_attr(not(test), rustc_diagnostic_item = "Default")]
#[stable(feature = "rust1", since = "1.0.0")]
#[cfg_attr(not(bootstrap), rustc_trivial_field_reads)]
pub trait Default: Sized {
/// Returns the "default value" for a type.
///
Expand Down

0 comments on commit 9eb9fa6

Please sign in to comment.