Skip to content

Rollup of 7 pull requests #110331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Apr 14, 2023
Merged
Changes from 2 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
75657d5
Add Command environment variable inheritance docs
schneems Mar 17, 2023
8d4cccd
Add links from `core::cmp` derives to their traits
clubby789 Apr 4, 2023
d9f99c3
Use `Display` in top-level example for `PanicInfo`
Apr 9, 2023
e612d78
Apply suggestions from code review
schneems Apr 9, 2023
a0daf22
Fix typos in library
DaniPopes Apr 10, 2023
ad2b34d
remove some unneeded imports
kadiwa4 Aug 9, 2022
42c4373
Make note_source_of_type_mismatch_constraint simpler
compiler-errors Mar 2, 2023
e72c45a
Point at which arg causes a binding to be constrained
compiler-errors Mar 2, 2023
29aee6a
Restore suggestion based off of backwards inference from bad usage to…
compiler-errors Mar 2, 2023
5a71029
Properly note source of arg mismatch
compiler-errors Mar 3, 2023
5cc4757
More accurate argument blames, add some comments
compiler-errors Mar 3, 2023
d38fd29
Add explanations for auto-disambiguation when an intra doc link is re…
GuillaumeGomez Apr 14, 2023
7bfccb3
Rollup merge of #108687 - compiler-errors:reformulate-point_at_expr_s…
matthiaskrgr Apr 14, 2023
13790be
Rollup merge of #109272 - schneems:schneems/add-docs-to-command-env-m…
matthiaskrgr Apr 14, 2023
4b8351f
Rollup merge of #109947 - clubby789:cmp-macro-crosslink, r=JohnTitor
matthiaskrgr Apr 14, 2023
5107c4c
Rollup merge of #110110 - lukas-code:display-panic-info, r=JohnTitor
matthiaskrgr Apr 14, 2023
d1c480f
Rollup merge of #110154 - DaniPopes:library-typos, r=JohnTitor
matthiaskrgr Apr 14, 2023
d5c7237
Rollup merge of #110244 - kadiwa4:unnecessary_imports, r=JohnTitor
matthiaskrgr Apr 14, 2023
0d97522
Rollup merge of #110328 - GuillaumeGomez:auto-disambiguation-proc-tra…
matthiaskrgr Apr 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions library/core/src/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ pub trait PartialEq<Rhs: ?Sized = Self> {
}
}

/// Derive macro generating an impl of the trait `PartialEq`.
/// Derive macro generating an impl of the trait [`PartialEq`].
/// The behavior of this macro is described in detail [here](PartialEq#derivable).
#[rustc_builtin_macro]
#[stable(feature = "builtin_macro_prelude", since = "1.38.0")]
#[allow_internal_unstable(core_intrinsics, structural_match)]
Expand Down Expand Up @@ -297,7 +298,7 @@ pub trait Eq: PartialEq<Self> {
fn assert_receiver_is_total_eq(&self) {}
}

/// Derive macro generating an impl of the trait `Eq`.
/// Derive macro generating an impl of the trait [`Eq`].
#[rustc_builtin_macro]
#[stable(feature = "builtin_macro_prelude", since = "1.38.0")]
#[allow_internal_unstable(core_intrinsics, derive_eq, structural_match, no_coverage)]
Expand Down Expand Up @@ -859,7 +860,8 @@ pub trait Ord: Eq + PartialOrd<Self> {
}
}

/// Derive macro generating an impl of the trait `Ord`.
/// Derive macro generating an impl of the trait [`Ord`].
/// The behavior of this macro is described in detail [here](Ord#derivable).
#[rustc_builtin_macro]
#[stable(feature = "builtin_macro_prelude", since = "1.38.0")]
#[allow_internal_unstable(core_intrinsics)]
Expand Down Expand Up @@ -1138,7 +1140,8 @@ pub trait PartialOrd<Rhs: ?Sized = Self>: PartialEq<Rhs> {
}
}

/// Derive macro generating an impl of the trait `PartialOrd`.
/// Derive macro generating an impl of the trait [`PartialOrd`].
/// The behavior of this macro is described in detail [here](PartialOrd#derivable).
#[rustc_builtin_macro]
#[stable(feature = "builtin_macro_prelude", since = "1.38.0")]
#[allow_internal_unstable(core_intrinsics)]
Expand Down