Skip to content

Rollup of 10 pull requests - #46395

Closed
arielb1 wants to merge 24 commits into
rust-lang:masterfrom
arielb1:rollup
Closed

Rollup of 10 pull requests#46395
arielb1 wants to merge 24 commits into
rust-lang:masterfrom
arielb1:rollup

Conversation

estebankand others added 24 commits November 27, 2017 06:11
On type mismatch errors, use a suggestion when encountering minimal
differences in type differences due to refs, instead of a note.
This was added to cover up a lazy extra semicolon in rust-lang#35849, but does
not actually make sense. This is removed as a part of the stabilization
of `never_type`.
When the only difference between the two types in a type error is that
one is a reference to the other type (`T` vs `&T`) or both are
references differing only in their mutability (`&T` vs `&mut T`), don't
highlight the type (`T`).
The documentation states: "The name output should be the name of the
library." and this is already done in more recently-added callers.
* Visibility was missing from impl items.
* Attributes and docs were missing from consts and types in impls.
* Const default values were missing from traits.
This unifies the code that handles associated items from impls and traits.
The usage of `Path::new` prevented out-of-tree builds (like the bots do) from
working by accident!
Closesrust-lang#46195
We want librustdoc to pickup the env_logger dependency from
the sysroot. This ensures that the same copy of env_logger is used
for both internal crates (e.g. librustc_driver, libsyntax) and
librustdoc
Closesrust-lang#46383
make coercions to `!` in unreachable code a hard error
This was added to cover up a lazy extra semicolon in rust-lang#35849, but does
not actually make sense. This is removed as a part of the stabilization
of `never_type`.
Use suggestions instead of notes ref mismatches
On type mismatch errors, use a suggestion when encountering minimal
differences in type differences due to refs, instead of a note.
rustc_llvm: remove stale references
...that were removed in 77c3bfa.
r? @alexcrichton
…s, r=nagisa
Update compiler-builtins and use it in the 128-bit lowering MIR test
This picks up the lang item implementations from rust-lang/compiler-builtins#210
cc rust-lang#45676@est31@nagisa
On type mismatch error highlight `&` when type matches
When the only difference between the two types in a type error is that
one is a reference to the other type (`T` vs `&T`) or both are
references differing only in their mutability (`&T` vs `&mut T`), don't
highlight the type (`T`).
…uginfo-spans, r=eddyb
incr.comp.: Remove an unnecessary HIR access which enables hashing spans for type definitions.
r? @nikomatsakis
…etMisdreavus
rustdoc: Fix issues with cross-crate inlined associated items
* Visibility was missing from impl items.
* Attributes and docs were missing from consts and types in impls.
* Const default values were missing from traits.
This unifies the code that handles associated items from impls and traits.
…-Simulacrum
rustbuild: Fix a typo with the Cargo book
The usage of `Path::new` prevented out-of-tree builds (like the bots do) from
working by accident!
Closesrust-lang#46195
…imulacrum
Remove librustdoc dependency on env_logger
We want librustdoc to pickup the env_logger dependency from
the sysroot. This ensures that the same copy of env_logger is used
for both internal crates (e.g. librustc_driver, libsyntax) and
librustdoc
Closesrust-lang#46383
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @eddyb

(rust_highfive has picked a reviewer for you, use r? to override)

@arielb1

Copy link
Copy Markdown
ContributorAuthor

@bors r+ p=10

@bors

bors commented Nov 30, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 06bfd29 has been approved by arielb1

@arielb1arielb1 closed this Nov 30, 2017
@CentrilCentril added the rollup A PR which is a rollup label Oct 24, 2019
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.

13 participants

@arielb1@rust-highfive@bors@eddyb@Centril@estebank@scottmcm@tamird@jseyfried@michaelwoerister@ollie27@alexcrichton@Aaron1011