Skip to content

write! breakage in newest nightly #19155

Closed
@sfackler

Description

@sfackler

Compiling sfackler/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.

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