-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
Description
I tried this code: https://github.com/rust-lang/rust/blob/aa3ca1994904f2e056679fce1f185db8c7ed2703/src/test/ui/issue-10764.rs
fn f(_: extern "Rust" fn()) {}
extern fn bar() {}
fn main() { f(bar) }
//~^ ERROR mismatched types
I expected to see this happen: //~^ ERROR mismatched types
Instead, this happened:
<source>:1:9: error: unknown ABI option
1 | fn f(_: extern "Rust" fn()) {}
| ^~~~~~
Meta
- What version of Rust GCC were you using, git sha if possible. be27571
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo