Skip to content

Commit f58a3d6

Browse files
committed
Improve dead code analysis
1 parent c14a130 commit f58a3d6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/default.rs

-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ use crate::ascii::Char as AsciiChar;
103103
/// ```
104104
#[cfg_attr(not(test), rustc_diagnostic_item = "Default")]
105105
#[stable(feature = "rust1", since = "1.0.0")]
106-
#[cfg_attr(not(bootstrap), rustc_trivial_field_reads)]
107106
pub trait Default: Sized {
108107
/// Returns the "default value" for a type.
109108
///

0 commit comments

Comments
 (0)