rust/compiler/rustc_lint/src/early
Nicholas Nethercote 06090e89d3 Convert two rustc_middle::lint functions to Span methods.
`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.
2025-02-02 13:57:34 +11:00
..
diagnostics Convert two rustc_middle::lint functions to Span methods. 2025-02-02 13:57:34 +11:00
diagnostics.rs Make the wasm_c_abi future compat warning a hard error 2025-01-23 10:22:23 +00:00