Skip to content

Commit

Permalink
Include stable rust-src diagnostics.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Sep 1, 2022
1 parent 13732f8 commit f10a2d7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/codegen/tests/ui-fail-stable/from_form.stderr
Expand Up @@ -519,6 +519,10 @@ error[E0308]: mismatched types
| arguments to this enum variant are incorrect
|
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
|
171 | #[field(default = 123.to_string())]
Expand All @@ -535,6 +539,10 @@ error[E0308]: mismatched types
| arguments to this enum variant are incorrect
|
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
|
203 | #[field(default_with = Some("hi".to_string()))]
Expand Down

0 comments on commit f10a2d7

Please sign in to comment.