diff --git a/codegen/ui_tests/export_fn_raw_return.stderr b/codegen/ui_tests/export_fn_raw_return.stderr index 7fbb58dc..65ebcd8b 100644 --- a/codegen/ui_tests/export_fn_raw_return.stderr +++ b/codegen/ui_tests/export_fn_raw_return.stderr @@ -2,9 +2,9 @@ error[E0308]: mismatched types --> $DIR/export_fn_raw_return.rs:10:8 | 9 | #[export_fn(return_raw)] - | ------------------------ expected `std::result::Result>` because of return type + | ------------------------ expected `Result>` because of return type 10 | pub fn test_fn(input: Point) -> bool { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `bool` + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `bool` | - = note: expected enum `std::result::Result>` + = note: expected enum `Result>` found type `bool` diff --git a/codegen/ui_tests/export_mod_raw_return.stderr b/codegen/ui_tests/export_mod_raw_return.stderr index 7d22f7a2..b2e2668f 100644 --- a/codegen/ui_tests/export_mod_raw_return.stderr +++ b/codegen/ui_tests/export_mod_raw_return.stderr @@ -2,10 +2,10 @@ error[E0308]: mismatched types --> $DIR/export_mod_raw_return.rs:12:8 | 9 | #[export_module] - | ---------------- expected `std::result::Result>` because of return type + | ---------------- expected `Result>` because of return type ... 12 | pub fn test_fn(input: Point) -> bool { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `bool` + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `bool` | - = note: expected enum `std::result::Result>` + = note: expected enum `Result>` found type `bool`