Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deriving: avoid dummy Span on an artificial
type_ident
path
The dummy Span pointed to the beginning of the source file instead to where the `#[derive]` is located. Later, it tripped the `in_derive_expansion(span)` check at `src/librustc/middle/stability.rs`, causing a span-less deprecation warning to be emitted. Fixes #56195, #55417.
- Loading branch information