Skip to content

Commit 4187a3a

Browse files
committed
Add rustc_const_unstable to Debug
1 parent f74d383 commit 4187a3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/default.rs

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ use crate::ascii::Char as AsciiChar;
104104
#[cfg_attr(not(test), rustc_diagnostic_item = "Default")]
105105
#[stable(feature = "rust1", since = "1.0.0")]
106106
#[const_trait]
107+
#[rustc_const_unstable(feature = "const_default", issue = "none")]
107108
#[rustc_trivial_field_reads]
108109
pub trait Default: Sized {
109110
/// Returns the "default value" for a type.

0 commit comments

Comments
 (0)