We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e4358d commit 9eb9fa6Copy full SHA for 9eb9fa6
core/src/default.rs
@@ -103,6 +103,7 @@ use crate::ascii::Char as AsciiChar;
103
/// ```
104
#[cfg_attr(not(test), rustc_diagnostic_item = "Default")]
105
#[stable(feature = "rust1", since = "1.0.0")]
106
+#[cfg_attr(not(bootstrap), rustc_trivial_field_reads)]
107
pub trait Default: Sized {
108
/// Returns the "default value" for a type.
109
///
0 commit comments