We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given a crate that looks like this:
// foo.rs #[link(name = "foo", vers = "0")]; #[crate_type = "lib"]; mod bar; mod baz;
// bar.rs mod baz;
// baz.rs enum quux {} extern mod blorg { fn thing () -> *quux; }
I get this output:
$ rustc foo.rs rustc: /home/doy/coding/src/rust/src/llvm/include/llvm/Support/Casting.h:197: typename llvm::cast_retty<To, From>::ret_type llvm::cast(const Y&) [with X = llvm::Function; Y = llvm::Value*; typename llvm::cast_retty<To, From>::ret_type = llvm::Function*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed. zsh: abort (core dumped) rustc foo.rs
The text was updated successfully, but these errors were encountered:
Obsolete; named extern mods are gone.
extern mod
Sorry, something went wrong.
No branches or pull requests
Given a crate that looks like this:
I get this output:
The text was updated successfully, but these errors were encountered: