diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-09 12:17:55 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-14 11:00:30 +0000 |
| commit | 5f6390f947373528355d30a276ede65d92baaa57 (patch) | |
| tree | cfccfb4047807d2dcf9aa0192ebae291d30f040e /tests/ui/parser/variadic-ffi-nested-syntactic-fail.rs | |
| parent | bb89df6903539e7014b8db29bccd6a9ee9553122 (diff) | |
| download | rust-5f6390f947373528355d30a276ede65d92baaa57.tar.gz rust-5f6390f947373528355d30a276ede65d92baaa57.zip | |
Continue compilation after check_mod_type_wf errors
Diffstat (limited to 'tests/ui/parser/variadic-ffi-nested-syntactic-fail.rs')
| -rw-r--r-- | tests/ui/parser/variadic-ffi-nested-syntactic-fail.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/ui/parser/variadic-ffi-nested-syntactic-fail.rs b/tests/ui/parser/variadic-ffi-nested-syntactic-fail.rs index f1238ec240f..4da9ad84bab 100644 --- a/tests/ui/parser/variadic-ffi-nested-syntactic-fail.rs +++ b/tests/ui/parser/variadic-ffi-nested-syntactic-fail.rs @@ -5,9 +5,6 @@ fn f2<'a>(x: u8, y: Vec<&'a ...>) {} //~^ ERROR C-variadic type `...` may not be nested inside another type fn main() { - // While this is an error, wf-checks happen before typeck, and if any wf-checks - // encountered errors, we do not continue to typeck, even if the items are - // unrelated. - // FIXME(oli-obk): make this report a type mismatch again. let _recovery_witness: () = 0; + //~^ ERROR: mismatched types } |
