Skip to content

Rollup of 6 pull requests - #84265

Closed
Dylan-DPC-zz wants to merge 12 commits into
rust-lang:masterfrom
Dylan-DPC-zz:rollup-nas9v31
Closed

Rollup of 6 pull requests#84265
Dylan-DPC-zz wants to merge 12 commits into
rust-lang:masterfrom
Dylan-DPC-zz:rollup-nas9v31

Conversation

@Dylan-DPC-zz

Copy link
Copy Markdown

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

SNCPlay42and others added 12 commits April 11, 2021 23:44
The code for printing a raw path is only used in utils.rs,
which only prints the alternative (non-HTML) format. Path has
a function that does the same thing without HTML support,
so use that instead.
People looking for `INADDR_ANY` don't always find
`Ipv4Addr::UNSPECIFIED`; add some documentation and an alias to help.
Currently, we allow the user to write things like
'// revisions: rpass1 rpass1', which will not test what they were
intending to test.
…r=petrochenkov
Detect when suggested paths enter extern crates more rigorously
When reporting resolution errors, the compiler tries to avoid suggesting importing inaccessible paths from other crates. However, the search for suggestions only recognized when it was entering a crate root directly, and so failed to recognize a path like `crate::module::private_item`, where `module` was imported from another crate with `use other_crate::module`, as entering another crate.
Fixesrust-lang#80079Fixesrust-lang#84081
…t, r=petrochenkov
Builtin derive macros: fix error with const generics default
This fixes a bug where builtin derive macros (like Clone, Debug) would basically copy-paste the default from a const generic, causing a compile error with very confusing message - it would say defaults are not allowed in impl blocks, while pointing at struct/enum/union definition.
…-suggest, r=estebank
fix incomplete diagnostic notes when closure returns conflicting for genric type
fixesrust-lang#84128
Correctly report the span on for conflicting return type in closures
…anup, r=jyn514
rustdoc: get rid of unused path printing code
The code for printing a raw path is only used in utils.rs, which only prints the alternative (non-HTML) format. Path has
a function that does the same thing without HTML support, so use that instead.
Add documentation to help people find `Ipv4Addr::UNSPECIFIED`
People looking for `INADDR_ANY` don't always find `Ipv4Addr::UNSPECIFIED`;
add some documentation to help.
…rk-Simulacrum
Error when compiletest is passed duplicate revisions
Currently, we allow the user to write things like
'// revisions: rpass1 rpass1', which will not test what they were
intending to test.
@rustbotrustbot added the rollup A PR which is a rollup label Apr 17, 2021
@Dylan-DPC-zz
Dylan-DPC-zz deleted the rollup-nas9v31 branch April 17, 2021 13:38
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@Dylan-DPC-zz@rustbot@SNCPlay42@Soveu@ABouttefeux@notriddle@joshtriplett@Aaron1011@Dylan-DPC