Skip to content

write! breakage in newest nightly #19155

Description

@sfackler

Compiling rust-postgres/rust-postgres@1fa5941 comes up with this on the current nightly, but not yesterday's:

<std macros>:4:35: 4:50 error: type `&mut [_]` does not implement any method in scope named `write_fmt`
<std macros>:4         format_args!(|args| { dst.write_fmt(args) }, $($arg)*)
                                                 ^~~~~~~~~~~~~~~
<std macros>:4:35: 4:50 error: type `&mut [u8]` does not implement any method in scope named `write_fmt`
<std macros>:4         format_args!(|args| { dst.write_fmt(args) }, $($arg)*)
                                                 ^~~~~~~~~~~~~~~
<std macros>:4:35: 4:50 error: type `&mut [_]` does not implement any method in scope named `write_fmt`
<std macros>:4         format_args!(|args| { dst.write_fmt(args) }, $($arg)*)
                                                 ^~~~~~~~~~~~~~~
<std macros>:4:35: 4:50 error: type `&mut [u8]` does not implement any method in scope named `write_fmt`
<std macros>:4         format_args!(|args| { dst.write_fmt(args) }, $($arg)*)
                                                 ^~~~~~~~~~~~~~~
error: aborting due to 4 previous errors

It's also a bit weird/concerning that there are no expansion traces.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions