Include stable rust-src diagnostics.

This commit is contained in:
Sergio Benitez 2022-09-01 01:47:02 -07:00
parent 13732f8a6b
commit f10a2d7d9c
1 changed files with 8 additions and 0 deletions

View File

@ -519,6 +519,10 @@ error[E0308]: mismatched types
| arguments to this enum variant are incorrect | arguments to this enum variant are incorrect
| |
note: tuple variant defined here note: tuple variant defined here
--> $RUST/core/src/option.rs
|
| Some(#[stable(feature = "rust1", since = "1.0.0")] T),
| ^^^^
help: try using a conversion method help: try using a conversion method
| |
171 | #[field(default = 123.to_string())] 171 | #[field(default = 123.to_string())]
@ -535,6 +539,10 @@ error[E0308]: mismatched types
| arguments to this enum variant are incorrect | arguments to this enum variant are incorrect
| |
note: tuple variant defined here note: tuple variant defined here
--> $RUST/core/src/option.rs
|
| Some(#[stable(feature = "rust1", since = "1.0.0")] T),
| ^^^^
help: try using a conversion method help: try using a conversion method
| |
203 | #[field(default_with = Some("hi".to_string()))] 203 | #[field(default_with = Some("hi".to_string()))]