Skip to content

Commit e7d4613

Browse files
committed
Minimal implementation of implicit deref patterns
1 parent b49d908 commit e7d4613

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alloc/src/string.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ use crate::vec::Vec;
364364
#[derive(PartialOrd, Eq, Ord)]
365365
#[cfg_attr(not(test), rustc_diagnostic_item = "String")]
366366
#[stable(feature = "rust1", since = "1.0.0")]
367+
#[cfg_attr(not(bootstrap), lang = "String")]
367368
pub struct String {
368369
vec: Vec<u8>,
369370
}

0 commit comments

Comments
 (0)