]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #86320 - hi-rustin:rustin-patch-fix-span, r=estebank
authorbors <bors@rust-lang.org>
Mon, 12 Jul 2021 20:43:28 +0000 (20:43 +0000)
committerbors <bors@rust-lang.org>
Mon, 12 Jul 2021 20:43:28 +0000 (20:43 +0000)
commit955b9c0d4cd9176b53f518e01cbe175545c69947
tree9e92a41173e658ec083977e0f361effd682c7b2d
parentb5a2ccee81406303324016d03399fac68ceb6718
parent8c5938d049e16045d3f1b0cf5edabecca30565fb
Auto merge of #86320 - hi-rustin:rustin-patch-fix-span, r=estebank

shrinking the deprecated span

ref: https://github.com/rust-lang/rust/pull/85617#issuecomment-854947988

part of #85403

r? `@estebank`

The reason is that if we use method_span directly, it will cause the in_derive_expansion judgment to fail.
compiler/rustc_passes/src/stability.rs