<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_interface/src, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-10T18:29:09+00:00</updated>
<entry>
<title>Rollup merge of #146340 - fmease:frontmatter-containment, r=fee1-dead,Urgau</title>
<updated>2025-09-10T18:29:09+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-10T18:29:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=86d39a06734cae9492d83498aac9bbdf3aa20508'/>
<id>urn:sha1:86d39a06734cae9492d83498aac9bbdf3aa20508</id>
<content type='text'>
Strip frontmatter in fewer places

* Stop stripping frontmatter in `proc_macro::Literal::from_str` (RUST-146132)
* Stop stripping frontmatter in expr-ctxt (but not item-ctxt!) `include`s (RUST-145945)
* Stop stripping shebang (!) in `proc_macro::Literal::from_str`
  * Not a breaking change because it did compare spans already to ensure there wasn't extra whitespace or comments (`Literal::from_str("#!\n0")` already yields `Err(_)` thankfully!)
* Stop stripping frontmatter+shebang inside some rustdoc code where it doesn't make any observable difference (see self review comments)
* (Stop stripping frontmatter+shebang inside internal test code)

Fixes https://github.com/rust-lang/rust/issues/145945.
Fixes https://github.com/rust-lang/rust/issues/146132.

r? fee1-dead
</content>
</entry>
<entry>
<title>Strip frontmatter in fewer places</title>
<updated>2025-09-09T17:49:40+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-09-08T17:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7a66925a8138df105f77d646f9206024baf7ea4b'/>
<id>urn:sha1:7a66925a8138df105f77d646f9206024baf7ea4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixup limit handling code</title>
<updated>2025-09-08T22:07:12+00:00</updated>
<author>
<name>Jana Dönszelmann</name>
<email>jana@donsz.nl</email>
</author>
<published>2025-08-24T11:25:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6087d89004eda5e1f6406182b9866497ecb22e99'/>
<id>urn:sha1:6087d89004eda5e1f6406182b9866497ecb22e99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disallow frontmatter in `--cfg` and `--check-cfg` arguments</title>
<updated>2025-09-03T06:01:03+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2025-09-02T20:58:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0fa93a3434a07cfd5edd0386d3053aced16e4e9e'/>
<id>urn:sha1:0fa93a3434a07cfd5edd0386d3053aced16e4e9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cleanup proof tree implementation and add cache</title>
<updated>2025-08-29T07:35:37+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2025-08-28T07:57:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0edb22cdbf8f25bede8d46e706b181457e27003a'/>
<id>urn:sha1:0edb22cdbf8f25bede8d46e706b181457e27003a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move `NativeLibKind` from `rustc_session` to `rustc_hir`</title>
<updated>2025-08-27T18:24:59+00:00</updated>
<author>
<name>Jonathan Brouwer</name>
<email>jonathantbrouwer@gmail.com</email>
</author>
<published>2025-07-16T11:45:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aab5e0bf1fc26eb96ab6f694f05074a80d9de5f9'/>
<id>urn:sha1:aab5e0bf1fc26eb96ab6f694f05074a80d9de5f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Port crate name to the new attribute system</title>
<updated>2025-08-24T07:20:57+00:00</updated>
<author>
<name>Jana Dönszelmann</name>
<email>jana@donsz.nl</email>
</author>
<published>2025-08-11T09:46:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=59ceb02d65f13a20d29422f4d923ecde429d4c0c'/>
<id>urn:sha1:59ceb02d65f13a20d29422f4d923ecde429d4c0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #145773 - jhpratt:rollup-kocqnzv, r=jhpratt</title>
<updated>2025-08-23T05:07:11+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-08-23T05:07:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8df154bffddcb6bbb543ad69aff971795c5adbc2'/>
<id>urn:sha1:8df154bffddcb6bbb543ad69aff971795c5adbc2</id>
<content type='text'>
Rollup of 28 pull requests

Successful merges:

 - rust-lang/rust#132087 (Fix overly restrictive lifetime in `core::panic::Location::file` return type)
 - rust-lang/rust#137396 (Recover `param: Ty = EXPR`)
 - rust-lang/rust#137457 (Fix host code appearing in Wasm binaries)
 - rust-lang/rust#142185 (Convert moves of references to copies in ReferencePropagation)
 - rust-lang/rust#144648 (Implementation: `#[feature(nonpoison_rwlock)]`)
 - rust-lang/rust#144897 (print raw lifetime idents with r#)
 - rust-lang/rust#145218 ([Debuginfo] improve enum value formatting in LLDB for better readability)
 - rust-lang/rust#145380 (Add codegen-llvm regression tests)
 - rust-lang/rust#145573 (Add an experimental unsafe(force_target_feature) attribute.)
 - rust-lang/rust#145597 (resolve: Remove `ScopeSet::Late`)
 - rust-lang/rust#145633 (Fix some typos in LocalKey documentation)
 - rust-lang/rust#145641 (On E0277, point at type that doesn't implement bound)
 - rust-lang/rust#145669 (rustdoc-search: GUI tests check for `//` in URL)
 - rust-lang/rust#145695 (Introduce ProjectionElem::try_map.)
 - rust-lang/rust#145710 (Fix the ABI parameter inconsistency issue in debug.rs for LoongArch64)
 - rust-lang/rust#145726 (Experiment: Reborrow trait)
 - rust-lang/rust#145731 (Make raw pointers work in type-based search)
 - rust-lang/rust#145736 (triagebot: Update style team reviewers)
 - rust-lang/rust#145738 (Uplift rustc_mir_transform::coverage::counters::union_find to rustc_data_structures.)
 - rust-lang/rust#145742 (rustdoc js: Even more typechecking improvments )
 - rust-lang/rust#145743 (doc: fix some typos in comment)
 - rust-lang/rust#145745 (tests: Ignore basic-stepping.rs on LoongArch)
 - rust-lang/rust#145747 (Refactor lint buffering to avoid requiring a giant enum)
 - rust-lang/rust#145751 (fix(lexer): Allow '-' in the frontmatter infostring continue set)
 - rust-lang/rust#145761 (Add aarch64_be-unknown-hermit target)
 - rust-lang/rust#145762 (convert strings to symbols in attr diagnostics)
 - rust-lang/rust#145763 (Ship LLVM tools for the correct target when cross-compiling)
 - rust-lang/rust#145765 (Revert suggestions for missing methods in tuples)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Rollup merge of #145747 - joshtriplett:builtin-diag-dyn, r=jdonszelmann</title>
<updated>2025-08-23T02:00:59+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-08-23T02:00:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d3c9908a8a91e8d732201caac2c809d4e96d0027'/>
<id>urn:sha1:d3c9908a8a91e8d732201caac2c809d4e96d0027</id>
<content type='text'>
Refactor lint buffering to avoid requiring a giant enum

Lint buffering currently relies on a giant enum `BuiltinLintDiag` containing all the lints that might potentially get buffered. In addition to being an unwieldy enum in a central crate, this also makes `rustc_lint_defs` a build bottleneck: it depends on various types from various crates (with a steady pressure to add more), and many crates depend on it.

Having all of these variants in a separate crate also prevents detecting when a variant becomes unused, which we can do with a dedicated type defined and used in the same crate.

Refactor this to use a dyn trait, to allow using `LintDiagnostic` types directly.

Because the existing `BuiltinLintDiag` requires some additional types in order to decorate some variants, which are only available later in `rustc_lint`, use an enum `DecorateDiagCompat` to handle both the `dyn LintDiagnostic` case and the `BuiltinLintDiag` case.

---

With the infrastructure in place, use it to migrate three of the enum variants to use `LintDiagnostic` directly, as a proof of concept and to demonstrate that the net result is a reduction in code size and a removal of a boilerplate-heavy layer of indirection.

Also remove an unused `BuiltinLintDiag` variant.
</content>
</entry>
<entry>
<title>Separate transmute checking from typeck.</title>
<updated>2025-08-22T20:10:27+00:00</updated>
<author>
<name>Camille Gillot</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2025-08-14T22:54:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a3c878f813dd9c7c788cbe8d817699f2ef927e4e'/>
<id>urn:sha1:a3c878f813dd9c7c788cbe8d817699f2ef927e4e</id>
<content type='text'>
</content>
</entry>
</feed>
