diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-18 16:50:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-18 16:50:56 -0700 |
| commit | 43ba8409d7c7f93d6f0b3c22fe1b193788ff6162 (patch) | |
| tree | 86804ca7d50b52ef15354d8dd988de446f9cc186 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | f305b200df5af87608677f30c272f47cf2210623 (diff) | |
| parent | 0a4217d09f41d64f8be076c26d16d3474ca66c03 (diff) | |
| download | rust-43ba8409d7c7f93d6f0b3c22fe1b193788ff6162.tar.gz rust-43ba8409d7c7f93d6f0b3c22fe1b193788ff6162.zip | |
Rollup merge of #74071 - petrochenkov:cload3, r=matthewjasper
rustc_metadata: Make crate loading fully speculative Instead of reporting `span_err`s on the spot crate loading errors are now wrapped into the `CrateError` enum and returned, so they are reported only at the top level `resolve_crate` call, and not reported at all if we are resolving speculatively with `maybe_resolve_crate`. As a result we can attempt loading crates for error recovery (e.g. import suggestions) without any risk of producing extra errors. Also, this means better separation between error reporting and actual logic. Fixes https://github.com/rust-lang/rust/issues/55103 Fixes https://github.com/rust-lang/rust/issues/56590
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
