diff options
Diffstat (limited to 'library/alloc/src/string.rs')
| -rw-r--r-- | library/alloc/src/string.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs index c9ba8921f6e..5799ef778c4 100644 --- a/library/alloc/src/string.rs +++ b/library/alloc/src/string.rs @@ -364,6 +364,7 @@ use crate::vec::Vec; #[derive(PartialOrd, Eq, Ord)] #[cfg_attr(not(test), rustc_diagnostic_item = "String")] #[stable(feature = "rust1", since = "1.0.0")] +#[cfg_attr(not(bootstrap), lang = "String")] pub struct String { vec: Vec<u8>, } |
