Skip to content
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

Update internal code generator to rustfmt 2.0.0-rc.2 #948

Merged
merged 1 commit into from Jan 1, 2021
Merged

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Jan 1, 2021

The previously pinned rustfmt commit + toolchain have no longer been compiling as of servo/rust-smallvec#248.

error[E0658]: unions with non-`Copy` fields are unstable
   --> /home/david/.cargo/registry/src/github.com-1ecc6299db9ec823/smallvec-1.6.0/src/lib.rs:353:1
    |
353 | / union SmallVecData<A: Array> {
354 | |     inline: core::mem::ManuallyDrop<MaybeUninit<A>>,
355 | |     heap: (*mut A::Item, usize),
356 | | }
    | |_^
    |
    = note: see issue #55149 <https://github.com/rust-lang/rust/issues/55149> for more information
    = help: add `#![feature(untagged_unions)]` to the crate attributes to enable

The previously pinned rustfmt commit + toolchain have no longer been
compiling as of servo/rust-smallvec#248.

    error[E0658]: unions with non-`Copy` fields are unstable
       --> /home/david/.cargo/registry/src/github.com-1ecc6299db9ec823/smallvec-1.6.0/src/lib.rs:353:1
        |
    353 | / union SmallVecData<A: Array> {
    354 | |     inline: core::mem::ManuallyDrop<MaybeUninit<A>>,
    355 | |     heap: (*mut A::Item, usize),
    356 | | }
        | |_^
        |
        = note: see issue #55149 <rust-lang/rust#55149> for more information
        = help: add `#![feature(untagged_unions)]` to the crate attributes to enable
@dtolnay dtolnay merged commit 0211762 into master Jan 1, 2021
@dtolnay dtolnay deleted the rustfmt branch January 1, 2021 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant