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.
allow(default_could_be_derived)
Default
1 parent 0411790 commit a861c8eCopy full SHA for a861c8e
1 file changed
library/core/src/default.rs
@@ -77,6 +77,7 @@
77
/// your type that should be the default:
78
///
79
/// ```
80
+/// # #![cfg_attr(not(bootstrap), default_could_be_derived)]
81
/// # #![allow(dead_code)]
82
/// enum Kind {
83
/// A,
@@ -121,6 +122,7 @@ pub trait Default: Sized {
121
122
/// Making your own:
123
124
125
+ /// # #![cfg_attr(not(bootstrap), default_could_be_derived)]
126
/// # #[allow(dead_code)]
127
128
0 commit comments