Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5461fd4
Gracefully handle non-WF alias in assemble_alias_bound_candidates_recur
compiler-errors Feb 10, 2024
1fa75af
Add test
c410-f3r Feb 11, 2024
89abbb0
Add ChrisDenton to review queue
ChrisDenton Feb 11, 2024
d5de9a6
check_consts: fix some duplicate errors by not calling check_static u…
RalfJung Feb 11, 2024
e13de31
make Primary/Secondary importance consistent between CellBorrow and M…
RalfJung Feb 11, 2024
792fa24
improve `btree_cursors` functions documentation
ripytide Feb 11, 2024
f415339
fix incorrect doctest
ripytide Feb 11, 2024
9789e88
Check that the ABI of the instance we are inlining is correct
compiler-errors Feb 11, 2024
f34d9da
fix intra-doc links
ripytide Feb 11, 2024
c35983a
Reorder the diagnostic API methods.
nnethercote Feb 8, 2024
b7b6ebc
Fix inconsistencies in the diagnostic API methods.
nnethercote Feb 8, 2024
2bcbc16
remove a bunch of dead parameters in fn
chenyukang Feb 11, 2024
fc7693d
Clean inlined type alias with correct param-env
compiler-errors Feb 12, 2024
30774b0
Remove final unwanted `unchecked_error_guaranteed` calls.
nnethercote Feb 9, 2024
e0a0cc2
Remove `dcx` arg from `ReportErrorExt::add_args`.
nnethercote Feb 12, 2024
d4b77f6
Tweak delayed bug mentions.
nnethercote Feb 12, 2024
1f39c8b
Change level used in `print_error_count`.
nnethercote Feb 12, 2024
95c5b06
fix ICE for deref coercions with type errors
Feb 11, 2024
57a2e91
Rollup merge of #120765 - nnethercote:reorder-diag-API, r=compiler-er…
matthiaskrgr Feb 12, 2024
f08ece3
Rollup merge of #120833 - nnethercote:more-internal-emit_diagnostics-…
matthiaskrgr Feb 12, 2024
733f93d
Rollup merge of #120899 - compiler-errors:non-wf-alias, r=lcnr
matthiaskrgr Feb 12, 2024
ebe36ac
Rollup merge of #120917 - chenyukang:yukang-dead-parameters, r=compil…
matthiaskrgr Feb 12, 2024
02c1e3e
Rollup merge of #120928 - c410-f3r:tests-tests-tests, r=davidtwco
matthiaskrgr Feb 12, 2024
3f67169
Rollup merge of #120933 - RalfJung:const-check-misc, r=oli-obk
matthiaskrgr Feb 12, 2024
8305686
Rollup merge of #120936 - ripytide:master, r=Amanieu
matthiaskrgr Feb 12, 2024
8ec144d
Rollup merge of #120944 - compiler-errors:inliner-abi, r=oli-obk
matthiaskrgr Feb 12, 2024
a0156e5
Rollup merge of #120956 - compiler-errors:clean-type-alias, r=Guillau…
matthiaskrgr Feb 12, 2024
323f66a
Rollup merge of #120962 - ChrisDenton:review, r=Nilstrieb
matthiaskrgr Feb 12, 2024
8e5f722
Rollup merge of #120972 - lukas-code:autoderef-type-error, r=compiler…
matthiaskrgr Feb 12, 2024
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
Change level used in print_error_count.
From `Fatal` to `Error`. It has no functional effect, but `Error` makes
more sense and lines up better with the `Warning` level used just above.
  • Loading branch information
nnethercote committed Feb 12, 2024
commit 1f39c8b08f2a9d30916a77beaf518f8d58d13a62
4 changes: 2 additions & 2 deletions compiler/rustc_errors/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -993,10 +993,10 @@ impl DiagCtxt {
.emit_diagnostic(Diagnostic::new(Warning, DiagnosticMessage::Str(warnings)));
}
(_, 0) => {
inner.emit_diagnostic(Diagnostic::new(Fatal, errors));
inner.emit_diagnostic(Diagnostic::new(Error, errors));
}
(_, _) => {
inner.emit_diagnostic(Diagnostic::new(Fatal, format!("{errors}; {warnings}")));
inner.emit_diagnostic(Diagnostic::new(Error, format!("{errors}; {warnings}")));
}
}

Expand Down