<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_lint/src/early/diagnostics, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-05-23T16:14:49+00:00</updated>
<entry>
<title>Suggest correct `version("..")` predicate syntax in check-cfg</title>
<updated>2025-05-23T16:14:49+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2025-05-23T16:14:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=343fecabc750fa10bc695ad840cfc3ff9bc70830'/>
<id>urn:sha1:343fecabc750fa10bc695ad840cfc3ff9bc70830</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert two `rustc_middle::lint` functions to `Span` methods.</title>
<updated>2025-02-02T02:57:34+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-02-02T02:54:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=06090e89d3007b4877f14267ed9cc02447332a5a'/>
<id>urn:sha1:06090e89d3007b4877f14267ed9cc02447332a5a</id>
<content type='text'>
`rustc_middle` is a huge crate and it's always good to move stuff out of
it. There are lots of similar methods already on `Span`, so these two
functions, `in_external_macro` and `is_from_async_await`, fit right in.
The diff is big because `in_external_macro` is used a lot by clippy
lints.
</content>
</entry>
<entry>
<title>Filter well known names from check-cfg diagnostics</title>
<updated>2025-01-25T11:27:33+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2025-01-25T11:27:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c5ea75a5df47f606c29b79fefb9bbf541b092bbd'/>
<id>urn:sha1:c5ea75a5df47f606c29b79fefb9bbf541b092bbd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Re-export more `rustc_span::symbol` things from `rustc_span`.</title>
<updated>2024-12-18T02:38:53+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-12-12T23:29:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2620eb42d72d24baa1ca1056a769862b92c85f7f'/>
<id>urn:sha1:2620eb42d72d24baa1ca1056a769862b92c85f7f</id>
<content type='text'>
`rustc_span::symbol` defines some things that are re-exported from
`rustc_span`, such as `Symbol` and `sym`. But it doesn't re-export some
closely related things such as `Ident` and `kw`. So you can do `use
rustc_span::{Symbol, sym}` but you have to do `use
rustc_span::symbol::{Ident, kw}`, which is inconsistent for no good
reason.

This commit re-exports `Ident`, `kw`, and `MacroRulesNormalizedIdent`,
and changes many `rustc_span::symbol::` qualifiers in `compiler/` to
`rustc_span::`. This is a 200+ net line of code reduction, mostly
because many files with two `use rustc_span` items can be reduced to
one.
</content>
</entry>
<entry>
<title>Improve check-cfg Cargo macro diagnostic with crate name</title>
<updated>2024-12-15T16:16:01+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2024-12-15T11:52:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=291c519c6966bb18e13d66a4283380ced339c49f'/>
<id>urn:sha1:291c519c6966bb18e13d66a4283380ced339c49f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Access `TyCtxt` from early diagnostic decoration</title>
<updated>2024-12-14T23:25:05+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2024-12-14T16:33:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ab780fa48aa49463301620ec825da3376c0171a3'/>
<id>urn:sha1:ab780fa48aa49463301620ec825da3376c0171a3</id>
<content type='text'>
</content>
</entry>
</feed>
