Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
72fbb54
Don't remap early-bound RPITIT regions that originate from impl
compiler-errors Nov 1, 2022
b4580d5
Simplify settings UI by merging system theme with the theme choices
GuillaumeGomez Nov 13, 2022
4074aae
Update GUI test
GuillaumeGomez Nov 13, 2022
dacf9b8
Extend GUI test for theme settings
GuillaumeGomez Nov 13, 2022
0616106
simplify `emit_unused_delims_expr`
TaKO8Ki Nov 15, 2022
1cf4132
return when expr has errors
TaKO8Ki Nov 15, 2022
634df06
Generalize the `ToPredicate` trait
oli-obk Jul 20, 2022
4f11f3b
Convert predicates into Predicate in the Obligation constructor
oli-obk Nov 9, 2022
20ea083
fix #104390, fix ICE in in_operand for ty error
chenyukang Nov 15, 2022
9c2d4dd
fix #104510, Remove is_tainted_by_errors since we have ty_error for d…
chenyukang Nov 16, 2022
b44d808
Don't attempt to normalize compiler backtraces
djkoloski Nov 16, 2022
893bd78
rustdoc: remove redundant font-color CSS on `.where`
notriddle Nov 16, 2022
75afb22
Check `dyn*` return type correctly
compiler-errors Nov 16, 2022
16b5590
Migrate tooltip style to CSS variables
GuillaumeGomez Nov 17, 2022
11d0c97
Extend codeblock GUI test to include tooltips
GuillaumeGomez Nov 17, 2022
34a1434
Readd the matches_macro diag item
flip1995 Nov 17, 2022
1521795
Rollup merge of #103852 - compiler-errors:rpitit-early-from-impl, r=lcnr
matthiaskrgr Nov 17, 2022
43dca24
Rollup merge of #104366 - GuillaumeGomez:simplify-settings-theme-choi…
matthiaskrgr Nov 17, 2022
c9ccb0b
Rollup merge of #104433 - TaKO8Ki:fix-104392, r=estebank
matthiaskrgr Nov 17, 2022
1c52c24
Rollup merge of #104444 - chenyukang:yukang/fix-104390, r=compiler-er…
matthiaskrgr Nov 17, 2022
ed97f24
Rollup merge of #104483 - oli-obk:santa-clauses-make-goals, r=compile…
matthiaskrgr Nov 17, 2022
039cae7
Rollup merge of #104496 - djkoloski:dont_normalize_compiler_backtrace…
matthiaskrgr Nov 17, 2022
68a8109
Rollup merge of #104503 - notriddle:notriddle/where, r=GuillaumeGomez
matthiaskrgr Nov 17, 2022
43fa291
Rollup merge of #104508 - compiler-errors:dyn-return, r=oli-obk
matthiaskrgr Nov 17, 2022
5829287
Rollup merge of #104515 - chenyukang:yukang/fix-104510-ice, r=compile…
matthiaskrgr Nov 17, 2022
4e59188
Rollup merge of #104532 - GuillaumeGomez:migrate-tooltip-css, r=notri…
matthiaskrgr Nov 17, 2022
239f84b
Rollup merge of #104545 - flip1995:diag_item_matches_macro, r=compile…
matthiaskrgr Nov 17, 2022
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
Prev Previous commit
Next Next commit
Readd the matches_macro diag item
This is now used by Clippy
  • Loading branch information
flip1995 committed Nov 17, 2022
commit 34a14349b7c79faef22d2765905c4804ba68235d
1 change: 1 addition & 0 deletions compiler/rustc_span/src/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,7 @@ symbols! {
masked,
match_beginning_vert,
match_default_bindings,
matches_macro,
maxnumf32,
maxnumf64,
may_dangle,
Expand Down
1 change: 1 addition & 0 deletions library/core/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ pub macro debug_assert_matches($($arg:tt)*) {
/// ```
#[macro_export]
#[stable(feature = "matches_macro", since = "1.42.0")]
#[cfg_attr(not(test), rustc_diagnostic_item = "matches_macro")]
macro_rules! matches {
($expression:expr, $(|)? $( $pattern:pat_param )|+ $( if $guard: expr )? $(,)?) => {
match $expression {
Expand Down