From eec856bfbcd79d12352f81b44a9f04e5bb06bda5 Mon Sep 17 00:00:00 2001 From: Cameron Steffen Date: Sat, 2 Oct 2021 18:51:01 -0500 Subject: Make diangostic item names consistent --- library/alloc/src/string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/alloc/src/string.rs') diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs index 57c38f2c0a9..92a17cc75ef 100644 --- a/library/alloc/src/string.rs +++ b/library/alloc/src/string.rs @@ -289,7 +289,7 @@ use crate::vec::Vec; /// [`Deref`]: core::ops::Deref "ops::Deref" /// [`as_str()`]: String::as_str #[derive(PartialOrd, Eq, Ord)] -#[cfg_attr(not(test), rustc_diagnostic_item = "string_type")] +#[cfg_attr(not(test), rustc_diagnostic_item = "String")] #[stable(feature = "rust1", since = "1.0.0")] pub struct String { vec: Vec, -- cgit 1.4.1-3-g733a5