From b3bcd7bf798c01974cbaf094d650b46f73284359 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Mon, 22 Mar 2021 10:08:43 +0800 Subject: [PATCH] Fix codegen test. --- codegen/ui_tests/export_mod_raw_return.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codegen/ui_tests/export_mod_raw_return.stderr b/codegen/ui_tests/export_mod_raw_return.stderr index b2e2668f..2b194c02 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 `Result>` because of return type + | ---------------- expected `Result>` because of return type ... 12 | pub fn test_fn(input: Point) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `bool` | - = note: expected enum `Result>` + = note: expected enum `Result>` found type `bool`