X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibcore%2Foption.rs;h=cb4247d98745eb8e52af0fd9e2de8de382cd54b0;hb=94aa655a3c7a9dde612b5e65e5e8ec3c57d143a3;hp=a471b174534aa4e11d16781ecb1d1731d00ace64;hpb=6250d56355d72264ece721e8d0dc95b16a6824b1;p=rust.git diff --git a/src/libcore/option.rs b/src/libcore/option.rs index a471b174534..cb4247d9874 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -151,6 +151,7 @@ /// The `Option` type. See [the module level documentation](index.html) for more. #[derive(Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)] +#[rustc_diagnostic_item = "option_type"] #[stable(feature = "rust1", since = "1.0.0")] pub enum Option { /// No value