mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
5e1db4491b
Add inline syntax for diagnostic messages This PR adds the new inline diagnostics syntax needed for rust-lang/rust#151366. The syntax itself is briefly described in the MCP: https://github.com/rust-lang/compiler-team/issues/959 To test these changes: * I added quite a few uitests * I converted the first crate `rustc_attr_parsing` to the new syntax in a separate PR: https://github.com/rust-lang/rust/pull/151944 r? @Kivooeo