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
This should not compile (AFAIK, but static methods aren't documented), but it shouldn't ICE either.
error: internal compiler error: calling transform_self_type_for_method on static method rust: task failed at 'explicit failure', /Users/burg/repos/rust/src/libsyntax/diagnostic.rs:78 rust: task failed at 'explicit failure', /Users/burg/repos/rust/src/rustc/driver/rustc.rs:275 rust: domain main @0x7f8c0a800010 root task failed
struct Obj { member: uint } impl Obj { static pure fn boom() -> bool { return 1+1 == 2 } pure fn chirp() { self.boom(); } } fn main() { let o = Obj { member: 0 }; o.chirp(); 1 + 1; }
The text was updated successfully, but these errors were encountered:
Reproduced as of 1330b1c
Sorry, something went wrong.
Add xfailed test for #3707
9e2a59d
Reproduced as of eed2ca6
Enable test for rust-lang#3707
4f436a8
Fixed.
Update rustc-ap-* crates to 541.0.0 (rust-lang#3707)
983a92c
Auto merge of rust-lang#3707 - adwinwhite:dup, r=RalfJung
ad1d8a8
Add syscall `dup()` for unix target Add support for `dup()` and `dup2()`. Fixes rust-lang#3454
No branches or pull requests
This should not compile (AFAIK, but static methods aren't documented), but it shouldn't ICE either.
output
testcase
The text was updated successfully, but these errors were encountered: