-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
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
trait lang item on a struct #20875
Comments
Here is a test case: #![no_std]
#![feature(lang_items)]
#[lang="sized"]
struct Foo; // can be omitted
struct Bar<T> {field: T}
fn main() {} The ICE happens at least when the |
http://is.gd/SpIRJe |
(actually maybe this does not really need @nikomatsakis 's attention; I suspect we could just make the code check a bit more carefully that the |
Triage bump: still ICEs. #![feature(no_std,lang_items)]
#![no_std]
#[lang="sized"]
struct Bar<T> {field: T}
fn main() {} |
I could not compile the latest example and I'm not sure what is causing it. Removing the |
@alexcrichton the recent changes to |
Use |
Is this the same ICE? #![feature(no_core,lang_items)]
#![no_core]
#[lang="sized"]
struct Bar<T> {field: T}
fn main() {} The error message is different than the OP's error.
|
@bltavares |
@arielb1 Cool. I will add it to steveklabnik/glacier then. |
Reference rust-lang/rust#20875
It is unlikely to be fixed. |
This ICE is effectively caused by #9307, so I'm going to close in favor of that. |
Version (nightly from : http://ppa.launchpad.net/hansjorg/rust/ubuntu)
rustc 1.0.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.0.0-dev
I've tried to compile: https://github.com/apreiml/rustboot
The text was updated successfully, but these errors were encountered: