about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-02-20 20:36:57 +0100
committerGitHub <noreply@github.com>2021-02-20 20:36:57 +0100
commit39af0257411b89c93d8cdffeb26a8d58db72efa7 (patch)
tree3b324a493d0109463dee035c1e3ac65758d5720c /library/std/src/sys/unix/stack_overflow.rs
parentd38f6e82a4c1aac312b30b2566827bd19a0fb412 (diff)
parent9ef67e09a4c2fdfd528ac174e3aec2fe0e97f347 (diff)
downloadrust-39af0257411b89c93d8cdffeb26a8d58db72efa7.tar.gz
rust-39af0257411b89c93d8cdffeb26a8d58db72efa7.zip
Rollup merge of #81991 - osa1:issue81839, r=estebank
Fix panic in 'remove semicolon' when types are not local

It's not possible to check if removing a semicolon fixes the type error
when checking match arms and one or both of the last arm's and the
current arm's return types are imported "opaque" types. In these cases
we don't generate a "consider removing semicolon" suggestions.

Fixes #81839

---

I'm not sure how to add a test for this. I think the test would need at least two crates. Do we have any existing tests that do this so that I can take a look?
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions