-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Calling function with bad signature, Rust 0.13.0-nightly #17974
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I'm guessing it's due to #[lang="fail_bounds_check"]
fn fail_bounds_check(file_line: &(&'static str, uint), index: uint, len: uint) -> ! {
// This should probably do something more intelligent
loop {}
} The sized lang item also needs to be attached to a trait: #[lang="sized"]
trait Sized {} This bug should be left open, though, as the compiler should give an error message instead of asserting in llvm. |
The issue tracking type checking of lang items is #9307. |
Cool, thanks. I hope I'm not making myself a nuisance, but when I compile my code with your changes, I get:
I looked through my code, and I don't actually see a reference anywhere to |
Closing as a duplicate of #9307. |
internal: Drop Apache license appendices Closes rust-lang#14586 Similar to rust-lang#67734
So, i am compileing a version of rustboot that uses some changes that someone else had made so that it could display text on the screen, but when I compile I get this:
i have checked all the other issues about this, but none of them have helped. My code looks like this:
I am fairly new to rust, and pretty much copy-and-pasteing stuff in. You will notice I cannot program very rust-idiomaticly becouse I have to do without the standard library, and cannot compile libcore for i386-intel-linux, which is what the loader assembly code is written for.
The text was updated successfully, but these errors were encountered: