Jonathan Brouwer
3c61714cc3
Rollup merge of #152121 - JonathanBrouwer:convert_builtin_macros, r=lqd
...
Convert to inline diagnostics in `rustc_builtin_macros`
For https://github.com/rust-lang/rust/issues/151366
r? @jdonszelmann
2026-02-05 12:17:01 +01:00
Jonathan Brouwer
4d535f5642
Rollup merge of #152119 - JonathanBrouwer:convert_middle, r=jdonszelmann
...
Convert to inline diagnostics in `rustc_middle`
For https://github.com/rust-lang/rust/issues/151366
r? @jdonszelmann
2026-02-05 12:17:01 +01:00
Jonathan Brouwer
62de21f0ad
Rollup merge of #152109 - JonathanBrouwer:convert_errors, r=lqd
...
Convert to inline diagnostics in `rustc_errors`
For rust-lang/rust#151366
r? @jdonszelmann
2026-02-05 12:17:00 +01:00
Jonathan Brouwer
3421938bb8
Rollup merge of #152106 - JonathanBrouwer:convert_ast_passes, r=jdonszelmann
...
Convert to inline diagnostics in `rustc_ast_passes`
For https://github.com/rust-lang/rust/issues/151366
r? @jdonszelmann
2026-02-05 12:16:59 +01:00
Jonathan Brouwer
e55eb45661
Convert to inline diagnostics in rustc_errors
2026-02-05 12:14:48 +01:00
Jonathan Brouwer
67c6cd99b7
Convert to inline diagnostics in rustc_pattern_analysis
2026-02-05 12:13:25 +01:00
Jonathan Brouwer
0da9476010
Convert to inline diagnostics in rustc_ast_passes
2026-02-05 12:08:42 +01:00
Jonathan Brouwer
46753b1b43
Convert to inline diagnostics in rustc_middle
2026-02-05 12:02:02 +01:00
Jonathan Brouwer
d40e60fc44
Convert to inline diagnostics in rustc_builtin_macros
2026-02-05 12:00:56 +01:00
Jonathan Brouwer
dd05e03db1
Rollup merge of #152118 - JonathanBrouwer:convert_codegen_ssa, r=jdonszelmann
...
Convert to inline diagnostics in `rustc_codegen_ssa`
For https://github.com/rust-lang/rust/issues/151366
r? @jdonszelmann
2026-02-05 08:32:56 +01:00
Jonathan Brouwer
9a2c4cb064
Rollup merge of #152115 - GuillaumeGomez:inline-diag-rustc_metadata, r=JonathanBrouwer
...
Convert to inline diagnostics in `rustc_metadata`
Part of https://github.com/rust-lang/rust/issues/151366 .
r? @JonathanBrouwer
2026-02-05 08:32:55 +01:00
Jonathan Brouwer
c2da69cd18
Rollup merge of #152114 - JonathanBrouwer:convert_mir_transform, r=jdonszelmann
...
Convert to inline diagnostics in `rustc_mir_transform`
For https://github.com/rust-lang/rust/issues/151366
r? @jdonszelmann
2026-02-05 08:32:54 +01:00
Jonathan Brouwer
d58a87b287
Rollup merge of #152108 - JonathanBrouwer:convert_expand, r=jdonszelmann
...
Convert to inline diagnostics in `rustc_expand`
For https://github.com/rust-lang/rust/issues/151366
r? @jdonszelmann
2026-02-05 08:32:52 +01:00
Jonathan Brouwer
945bfa770e
Rollup merge of #152105 - GuillaumeGomez:inline-diag-rustc_ast_lowering, r=JonathanBrouwer
...
Convert to inline diagnostics in `rustc_ast_lowering`
Part of https://github.com/rust-lang/rust/issues/151366 .
r? @JonathanBrouwer
2026-02-05 08:32:51 +01:00
Jonathan Brouwer
f5a90728e3
Rollup merge of #152081 - clubby789:port-depgraph-attrs, r=JonathanBrouwer
...
Port depgraph testing attributes to parser
Tracking issue: rust-lang/rust#131229
Ports `#[rustc_clean]`, `#[rustc_if_this_changed]` and `#[rustc_then_this_would_need]` attributes.
Removes references to `rustc_dirty` as that attribute was folded into `rustc_clean` some time ago and rename some code accordingly.
r? JonathanBrouwer
2026-02-05 08:32:50 +01:00
Jonathan Brouwer
50c768e1bb
Rollup merge of #152068 - JonathanBrouwer:convert_resolve, r=lqd
...
Convert to inline diagnostics in `rustc_resolve`
For https://github.com/rust-lang/rust/issues/151366
2026-02-05 08:32:47 +01:00
Jonathan Brouwer
cf2ea13042
Rollup merge of #152023 - nnethercote:rm-Value, r=nnethercote
...
Some `rustc_query_system` cleanups
Small improvements I found while looking closely at `rustc_query_system`. Best reviewed one commit at a time.
r? @cjgillot
2026-02-05 08:32:46 +01:00
Nicholas Nethercote
0932068b6c
Move the QueryOverflow and QueryOverflowNote errors.
...
They are defined in `rustc_query_system` but used in `rustc_query_impl`.
This is very much *not* how things are supposed to be done; I suspect
someone got lazy and took a shortcut at some point.
This commit moves the errors into `rustc_query_impl`. This requires more
lines of code to give `rustc_query_impl` an errors module, but it's
worthwhile to do things in the normal way instead of a weird exceptional
way.
2026-02-05 09:29:46 +11:00
Jamie Hill-Daniel
de7067938d
Port rustc_if_this_changed/rustc_then_this_would_need to attr parser
2026-02-04 21:00:36 +00:00
Jamie Hill-Daniel
94a0ba50e1
Port rustc_clean to attribute parser
...
Also remove mentions of removed `rustc_dirty`
2026-02-04 20:58:02 +00:00
Jonathan Brouwer
44a14c1f30
Convert to inline diagnostics in rustc_hir_typeck
2026-02-04 21:36:48 +01:00
Guillaume Gomez
534b6c60e0
Convert to inline diagnostics in rustc_metadata
2026-02-04 19:13:49 +01:00
Jonathan Brouwer
e005754c06
Convert to inline diagnostics in rustc_resolve
2026-02-04 18:32:44 +01:00
Jonathan Brouwer
40695f18be
Convert to inline diagnostics in rustc_mir_transform
2026-02-04 18:29:47 +01:00
Jonathan Brouwer
d445a2aabb
Convert to inline diagnostics in rustc_codegen_ssa
2026-02-04 17:24:41 +01:00
Guillaume Gomez
8d09ba7ae5
Convert to inline diagnostics in rustc_ast_lowering
2026-02-04 16:28:49 +01:00
Jonathan Brouwer
9dab26a9ab
Convert to inline diagnostics in rustc_expand
2026-02-04 16:16:16 +01:00
Jonathan Brouwer
cf0e19b0b4
Rollup merge of #152102 - bjorn3:inline_fluent_codegen_backends, r=JonathanBrouwer,GuillaumeGomez
...
Convert to inline diagnostics in all codegen backends
Part of https://github.com/rust-lang/rust/issues/151366
r? @JonathanBrouwer
2026-02-04 14:39:29 +01:00
Jonathan Brouwer
bf838717a4
Rollup merge of #152072 - JonathanBrouwer:convert_monomorphize, r=jdonszelmann
...
Convert to inline diagnostics in `rustc_monomorphize`
For https://github.com/rust-lang/rust/issues/151366
r? @jdonszelmann
2026-02-04 14:39:27 +01:00
Jonathan Brouwer
ecafacdeb7
Rollup merge of #152069 - JonathanBrouwer:convert_privacy, r=lqd
...
Convert to inline diagnostics in `rustc_privacy`
For https://github.com/rust-lang/rust/issues/151366
r? @jdonszelmann
2026-02-04 14:39:25 +01:00
Jonathan Brouwer
1c142db7d9
Rollup merge of #152066 - JonathanBrouwer:session_convert, r=jdonszelmann
...
Convert to inline diagnostics in `rustc_session`
For https://github.com/rust-lang/rust/issues/151366
r? @jdonszelmann
2026-02-04 14:39:24 +01:00
Jonathan Brouwer
8e361cfa69
Rollup merge of #152065 - JonathanBrouwer:convert_ty_utils, r=lqd
...
Convert to inline diagnostics in `rustc_ty_utils`
For https://github.com/rust-lang/rust/issues/151366
r? @jdonszelmann
2026-02-04 14:39:23 +01:00
bjorn3
d2a0557afb
Convert to inline diagnostics in all codegen backends
2026-02-04 13:12:49 +00:00
Jonathan Brouwer
0f9b0d3841
Convert to inline diagnostics in rustc_session
2026-02-04 13:22:20 +01:00
Jonathan Brouwer
ae21d43933
Convert to inline diagnostics in rustc_privacy
2026-02-04 08:11:40 +01:00
Jonathan Brouwer
e7c142cc89
Convert to inline diagnostics in rustc_interface
2026-02-04 08:10:10 +01:00
Jonathan Brouwer
7960088392
Rollup merge of #152073 - JonathanBrouwer:convert_mir_dataflow, r=lqd
...
Convert to inline diagnostics in `rustc_mir_dataflow`
For https://github.com/rust-lang/rust/issues/151366
r? @jdonszelmann
2026-02-03 23:29:58 +01:00
Jonathan Brouwer
4fdd085e28
Convert to inline diagnostics in rustc_mir_dataflow
2026-02-03 23:25:59 +01:00
Jonathan Brouwer
4cacfc00bc
Convert to inline diagnostics in rustc_incremental
2026-02-03 23:22:48 +01:00
Jonathan Brouwer
d457ffd4f4
Convert to inline diagnostics in rustc_monomorphize
2026-02-03 22:44:22 +01:00
Jonathan Brouwer
590fa1e6cb
Convert to inline diagnostics in rustc_ty_utils
2026-02-03 21:32:03 +01:00
Jonathan Brouwer
7997b11cfd
Rollup merge of #152041 - JonathanBrouwer:query_system_convert, r=jdonszelmann
...
Convert to inline diagnostics in `rustc_query_system`
For https://github.com/rust-lang/rust/issues/151366#event-22181360642
r? @jdonszelmann (or anyone else who feels like it)
2026-02-03 18:54:51 +01:00
Jonathan Brouwer
e5c125f063
Rollup merge of #152019 - nnethercote:rm-unneeded-HashStable-derives, r=Zalathar
...
`NativeLib` cleanups
Improvements to `NativeLib`.
r? @Zalathar
2026-02-03 18:54:50 +01:00
Jonathan Brouwer
fabcf5aeb8
Rollup merge of #151944 - JonathanBrouwer:diag4, r=jdonszelmann
...
Convert to inline diagnostics in `rustc_attr_parsing`
Converts a crate for rust-lang/rust#151366
This PR is almost completely autogenerated by a hacky script I have locally :)
2026-02-03 18:54:49 +01:00
Jonathan Brouwer
e0f6b3b665
Rollup merge of #151848 - clubby789:rustc-mir-port, r=JonathanBrouwer
...
Port `rustc_mir` to attribute parser
Tracking issue: rust-lang/rust#131229
2026-02-03 18:54:48 +01:00
Jonathan Brouwer
13e97ac9b2
Rollup merge of #152045 - JonathanBrouwer:rustc_infer_convert, r=lqd
...
Convert to inline diagnostics in `rustc_infer`
For https://github.com/rust-lang/rust/issues/151366
2026-02-03 18:54:47 +01:00
Jonathan Brouwer
1722b8e06b
Convert to inline diagnostics in rustc_infer
2026-02-03 15:14:49 +01:00
Jamie Hill-Daniel
b668057d79
Port rustc_mir to attribute parser
2026-02-03 13:55:45 +00:00
Jonathan Brouwer
30f82aac5b
Convert to inline diagnostics in rustc_query_system
2026-02-03 14:01:05 +01:00
Jonathan Brouwer
a9f81ea43e
Convert to inline diagnostics in rustc_attr_parsing
2026-02-03 09:59:11 +01:00