Revert "Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=… · model-checking/verify-rust-std@9eb9fa6 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 9eb9fa6
Revert "Rollup merge of rust-lang#127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix"
This reverts commit 31fe962, reversing changes made to f203078.
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -103,6 +103,7 @@ use crate::ascii::Char as AsciiChar; | ||
103 | 103 | /// ``` |
104 | 104 | #[cfg_attr(not(test), rustc_diagnostic_item = "Default")] |
105 | 105 | #[stable(feature = "rust1", since = "1.0.0")] |
106 | +#[cfg_attr(not(bootstrap), rustc_trivial_field_reads)] | |
106 | 107 | pub trait Default: Sized { |
107 | 108 | /// Returns the "default value" for a type. |
108 | 109 | /// |