diff --git a/core/codegen/tests/ui-fail-stable/from_form.stderr b/core/codegen/tests/ui-fail-stable/from_form.stderr index f7d04fe9..a5d8f0ca 100644 --- a/core/codegen/tests/ui-fail-stable/from_form.stderr +++ b/core/codegen/tests/ui-fail-stable/from_form.stderr @@ -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())] @@ -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()))]