Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
3a9981a
clippy fix: non_canonical_clone_impl (except Infallible)
hkBst Jan 3, 2026
3a311ed
add abort_immediate
CAD97 Mar 30, 2026
fb99fbe
add missing core::process module docs
CAD97 Mar 30, 2026
e9b36bd
`core::unicode`: Replace `Cased` table with `Lt`
Jules-Bertholet Apr 2, 2026
617d9de
rustdoc: preserve `doc(cfg)` on locally re-exported type aliases
shivendra02467 Apr 7, 2026
e9d0e32
Merge malformed diagnostic attribute lint
mejrs Apr 12, 2026
57fd974
Merge "missing options" lints for diagnostic attributes
mejrs Apr 12, 2026
217c073
move list parsing into its own function
mejrs Apr 12, 2026
0dd591a
Delete unused `AttributeLintKind` variant
mejrs Apr 12, 2026
f468cef
Format the duplicate macro
mejrs Apr 12, 2026
c79fcfc
Fix some irrelevant warnings in `tests/incremental`
Zalathar Apr 3, 2026
8565c4a
Extract `check_compiler_output_for_incr`
Zalathar Apr 3, 2026
316fcbd
Check diagnostic output in incremental `cpass` and `rpass` revisions
Zalathar Apr 3, 2026
7c4cf96
report the `varargs_without_pattern` lint in deps
folkertdev Mar 30, 2026
edee654
Adjust release notes for post-merge feedback
Mark-Simulacrum Apr 13, 2026
58af51e
Emit fatal on invalid const args with nested defs
mu001999 Mar 30, 2026
6f1d601
Update test with revisions
mu001999 Apr 14, 2026
75273e2
Warn instead of error for some ructs_on_unimplemented errors
mejrs Apr 14, 2026
72db94f
Pass allowed options as parameter to diagnostic lints
mejrs Apr 14, 2026
3ce3436
Disallow ZST allocations with `TypedArena`.
nnethercote Apr 15, 2026
81cab93
docs: Use `0b1` instead of `NonZero::MIN` in `NonZero::bit_width` doc…
sorairolake Apr 15, 2026
d6bccac
Fix error code example
mejrs Apr 15, 2026
82545d7
Add regression test
oli-obk Apr 15, 2026
8d64264
Handle non-null pattern types in size skeleton
oli-obk Apr 15, 2026
1fca34d
Emit fatal on defaults for generic params in binders if with nested defs
mu001999 Mar 31, 2026
77419b4
Add FIXME for the fatal errors
mu001999 Apr 15, 2026
e910c38
Add push_mut to release notes
balt-dev Apr 15, 2026
fba9ef8
Add insert_mut to release notes
balt-dev Apr 15, 2026
f52f125
Add `--quiet` flag to x.py and bootstrap to suppress output
erickt Feb 25, 2026
4095bbd
Add new Layout methods to release notes
balt-dev Apr 15, 2026
d87a2e7
Fix typo for danging_ptr
balt-dev Apr 15, 2026
3238112
resolve: Cleanup diagnostic code for struct constructors
petrochenkov Apr 15, 2026
9c2e424
resolve: Remove `type Res` aliases except the one in the crate root
petrochenkov Apr 15, 2026
19c7df6
resolve: Remove `inaccessible_ctor_reexport` resolver field
petrochenkov Apr 15, 2026
dbb83b6
remove calls to AliasTyKind::def_id
WilliamTakeshi Apr 15, 2026
ae6dbdd
Add `--remap-path-scope` as unstable in rustdoc
Urgau Apr 15, 2026
9b64d52
Reduce diagnostic type visibilities.
nnethercote Apr 15, 2026
f3fc537
Move `MustBeNameOfAssociatedFunction` to the crate that uses it.
nnethercote Apr 15, 2026
9bfc3ef
Rollup merge of #154595 - mu001999-contrib:fix/154539, r=BoxyUwU
jhpratt Apr 16, 2026
cd21d61
Rollup merge of #154599 - folkertdev:varargs-without-pattern-in-deps,…
jhpratt Apr 16, 2026
ea2fa8b
Rollup merge of #154699 - Jules-Bertholet:lt-for-cased, r=scottmcm
jhpratt Apr 16, 2026
a2726a7
Rollup merge of #155353 - petrochenkov:globdedup, r=mu001999
jhpratt Apr 16, 2026
3330fa2
Rollup merge of #155357 - Urgau:rustdoc-remap-path-scope, r=Guillaume…
jhpratt Apr 16, 2026
335d09a
Rollup merge of #150649 - hkBst:non-canonical-clone-impl-1, r=scottmcm
jhpratt Apr 16, 2026
3034c55
Rollup merge of #154604 - CAD97:abort-immediate, r=scottmcm
jhpratt Apr 16, 2026
dbf246c
Rollup merge of #154616 - erickt:quiet, r=jieyouxu
jhpratt Apr 16, 2026
c277c34
Rollup merge of #154970 - shivendra02467:fix-rustdoc-154921, r=Guilla…
jhpratt Apr 16, 2026
e15e87f
Rollup merge of #155215 - mejrs:condense_diag_lints, r=JonathanBrouwer
jhpratt Apr 16, 2026
4d463e5
Rollup merge of #155228 - Zalathar:incr-test-diag, r=jieyouxu
jhpratt Apr 16, 2026
9173d38
Rollup merge of #155266 - Mark-Simulacrum:relnotes-fix, r=jieyouxu
jhpratt Apr 16, 2026
ea8b49d
Rollup merge of #155326 - nnethercote:disallow-ZST-TypedArena, r=Nadr…
jhpratt Apr 16, 2026
9e01f03
Rollup merge of #155334 - sorairolake:docs/nonzero-bit-width-literal,…
jhpratt Apr 16, 2026
8fdbb4d
Rollup merge of #155340 - oli-obk:size-skeleton-pat-tys, r=mati865
jhpratt Apr 16, 2026
d553001
Rollup merge of #155347 - balt-dev:patch-1, r=cuviper
jhpratt Apr 16, 2026
8dfe975
Rollup merge of #155356 - WilliamTakeshi:remove_calls_to_def_id, r=Wa…
jhpratt Apr 16, 2026
837292d
Rollup merge of #155364 - nnethercote:reduce-err-struct-visibilities,…
jhpratt Apr 16, 2026
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
Add FIXME for the fatal errors
  • Loading branch information
mu001999 committed Apr 15, 2026
commit 77419b45dcbc49e54a66a72f17c3a99539e84841
6 changes: 6 additions & 0 deletions compiler/rustc_ast_lowering/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2228,6 +2228,9 @@ impl<'hir, R: ResolverAstLoweringExt<'hir>> LoweringContext<'_, 'hir, R> {
.visit_expr(&anon_const.value)
.is_break()
{
// FIXME(mgca): make this non-fatal once we have a better way
// to handle nested items in anno const from binder
// Issue: https://github.com/rust-lang/rust/issues/123629
self.dcx().emit_fatal(err)
} else {
self.dcx().emit_err(err);
Expand Down Expand Up @@ -2571,6 +2574,9 @@ impl<'hir, R: ResolverAstLoweringExt<'hir>> LoweringContext<'_, 'hir, R> {
let overly_complex_const = |this: &mut Self| {
let msg = "complex const arguments must be placed inside of a `const` block";
let e = if expr::WillCreateDefIdsVisitor.visit_expr(expr).is_break() {
// FIXME(mgca): make this non-fatal once we have a better way to handle
// nested items in const args
// Issue: https://github.com/rust-lang/rust/issues/154539
this.dcx().struct_span_fatal(expr.span, msg).emit()
} else {
this.dcx().struct_span_err(expr.span, msg).emit()
Expand Down
Loading