mirror of https://github.com/rwf2/Rocket.git
Include stable rust-src diagnostics.
This commit is contained in:
parent
13732f8a6b
commit
f10a2d7d9c
|
@ -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()))]
|
||||||
|
|
Loading…
Reference in New Issue