diff options
| author | bors <bors@rust-lang.org> | 2017-08-14 19:55:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-08-14 19:55:20 +0000 |
| commit | df511d5548ebb7f971abcd3a5283cb1d37b64596 (patch) | |
| tree | 42a65acbeb62b77b5d449db735884896fc46f341 /src/liballoc_jemalloc | |
| parent | f1ca76c4978b793ec2e6332009b1ba84d164eb03 (diff) | |
| parent | 60377e48f0416daa9120fd057ce55a0024cc458f (diff) | |
| download | rust-df511d5548ebb7f971abcd3a5283cb1d37b64596.tar.gz rust-df511d5548ebb7f971abcd3a5283cb1d37b64596.zip | |
Auto merge of #43826 - kennytm:fix-43796-mis-calculated-spans, r=petrochenkov
Fix "Mis-calculated spans" errors from `-Z save-analysis` + refactoring Removed the path span extraction methods from `SpanUtils`: * spans_with_brackets * spans_for_path_segments * spans_for_ty_params Use the `span` fields in `PathSegment` and `TyParam` instead. (Note that since it processes `ast::Path` not a qualified path (`hir::QPath` / `ast::QSelf`), UFCS path will be flattened: `<Foo as a::b::c::Trait>::D::E::F::g` will be seen as `a::b::c::Trait::D::E::F::g`.) Fix #43796. Close #41478. r? @nrc
Diffstat (limited to 'src/liballoc_jemalloc')
0 files changed, 0 insertions, 0 deletions
