diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-04 08:09:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 08:09:05 +0200 |
commit | b194b43bd1ffdb6708b3eaa50c52d0a8c2199500 (patch) | |
tree | 914809202b81b6b57dd30e2200637ec7de3161c1 /tests/rustdoc-js-std/parser-errors.js | |
parent | 6387eda3ba51acfcd27aa46429dc94cb66ae73a3 (diff) | |
parent | ed468eebf6e852b80eeed6997c67444268795faa (diff) | |
download | rust-b194b43bd1ffdb6708b3eaa50c52d0a8c2199500.tar.gz |
Rollup merge of #111039 - compiler-errors:foreign-span-rpitit, r=tmiasko
Encode def span for foreign return-position `impl Trait` in trait
Fixes #111031, yet another def-span encoding issue :/
Includes a smaller repro than the issue, but I can confirm it ICEs:
```
query stack during panic:
#0 [def_span] looking up span for `rpitit::Foo::bar::{opaque#0}`
#1 [object_safety_violations] determining object safety of trait `rpitit::Foo`
#2 [check_is_object_safe] checking if trait `rpitit::Foo` is object safe
#3 [typeck] type-checking `main`
#4 [used_trait_imports] finding used_trait_imports `main`
#5 [analysis] running analysis passes on this crate
```
Luckily since this only affects nightly, this desn't need to be backported.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions