diff options
Diffstat (limited to '')
-rw-r--r-- | library/core/src/default.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/default.rs b/library/core/src/default.rs index a5b4e9655..d96b53de0 100644 --- a/library/core/src/default.rs +++ b/library/core/src/default.rs @@ -99,7 +99,7 @@ /// ``` #[cfg_attr(not(test), rustc_diagnostic_item = "Default")] #[stable(feature = "rust1", since = "1.0.0")] -#[cfg_attr(not(bootstrap), const_trait)] +#[const_trait] pub trait Default: Sized { /// Returns the "default value" for a type. /// |