Auto merge of #101577 - Dylan-DPC:rollup-l9xw7i7, r=Dylan-DPC
Rollup of 7 pull requests Successful merges: - #98933 (Opaque types' generic params do not imply anything about their hidden type's lifetimes) - #101041 (translations(rustc_session): migrates rustc_session to use SessionDiagnostic - Pt. 2) - #101424 (Adjust and slightly generalize operator error suggestion) - #101496 (Allow lower_lifetime_binder receive a closure) - #101501 (Allow lint passes to be bound by `TyCtxt`) - #101515 (Recover from typo where == is used in place of =) - #101545 (Remove unnecessary `PartialOrd` and `Ord`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
commit
87788097b7
59 changed files with 1036 additions and 660 deletions
|
@ -457,7 +457,7 @@ impl PartialRes {
|
|||
|
||||
/// Different kinds of symbols can coexist even if they share the same textual name.
|
||||
/// Therefore, they each have a separate universe (known as a "namespace").
|
||||
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
|
||||
pub enum Namespace {
|
||||
/// The type namespace includes `struct`s, `enum`s, `union`s, `trait`s, and `mod`s
|
||||
/// (and, by extension, crates).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue