Closed
Description
This is using "rustc 1.0.0-nightly (458a6a2 2015-01-25 21:20:37 +0000)".
Code:
#![start]
#[no_mangle]
fn main() {}
Command line:
rustc test.rs
Error:
test.rs:1:1: 1:10 warning: unused attribute, #[warn(unused_attributes)] on by default
test.rs:1 #![start]
^~~~~~~~~
rustc: /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/include/llvm/Support/Casting.h:237: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::Function; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::Function*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
Aborted
Metadata
Metadata
Assignees
Labels
No labels