diff options
| author | Dan Aloni <dan@kernelim.com> | 2019-10-11 15:14:23 +0300 |
|---|---|---|
| committer | Dan Aloni <dan@kernelim.com> | 2019-10-11 16:38:47 +0300 |
| commit | a32aec021eee20ad27c232bdacb5c4ac6af7808a (patch) | |
| tree | b8149b7fecfe3af72f3d1ff1b99f49c0f9d807e0 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 000d90b11f7be70ffb7812680f7abc6deb52ec88 (diff) | |
| download | rust-a32aec021eee20ad27c232bdacb5c4ac6af7808a.tar.gz rust-a32aec021eee20ad27c232bdacb5c4ac6af7808a.zip | |
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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
