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
Parsing this
extern crate core; use core::marker::PhantomData; static mut my_static: u64 = init(); const fn init() -> u64 { 2 } fn main() { let s: SBox<u64> = } struct SBox<T>(&'static mut T); impl<T> SBox<T> { unsafe fn from_static(data: &'static mut T) -> SBox<T> { SBox(data) } }
Spews this repeatedly:
examples/example1.rs:19:1: 19:2 error: unexpected token: `<eof>` examples/example1.rs:19 } ^ examples/example1.rs:19:1: 19:2 error: unexpected token: `<eof>` examples/example1.rs:19 } ^ examples/example1.rs:19:1: 19:2 error: unexpected token: `<eof>` examples/example1.rs:19 } ^ ...
The text was updated successfully, but these errors were encountered:
rustc 1.8.0-nightly (15e9a95 2016-02-26)
Sorry, something went wrong.
This looks like a duplicate of #31804
Thanks @bytwise !
No branches or pull requests
Parsing this
Spews this repeatedly:
The text was updated successfully, but these errors were encountered: