diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-02 15:52:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-02 15:52:01 +0100 |
| commit | 87ca33321045b1b3a10f8ed8dab40521f4bf4bec (patch) | |
| tree | 19743533140817ec831bf60262533c54959c7a07 /compiler/rustc_codegen_gcc/example/alloc_example.rs | |
| parent | 0666a33a6b8d39112f77cff65b6742092cfa736a (diff) | |
| parent | 2ca933301183b1e913802bc5710c0cb5218ada28 (diff) | |
| download | rust-87ca33321045b1b3a10f8ed8dab40521f4bf4bec.tar.gz rust-87ca33321045b1b3a10f8ed8dab40521f4bf4bec.zip | |
Rollup merge of #91045 - mjptree:issue-90702-fix, r=petrochenkov
Issue 90702 fix: Stop treating some crate loading failures as fatal errors Surface mulitple `extern crate` resolution errors at a time. This is achieved by creating a dummy crate, instead of aborting directly after the resolution error. The `ExternCrateError` has been added to allow propagating the resolution error from `rustc_metadata` crate to the `rustc_resolve` with a minimal public surface. The `import_extern_crate` function is a block that was factored out from `build_reduced_graph_for_item` for better organization. The only added functionality made to it where the added error handling in the `process_extern_crate` call. The remaining bits in this function are the same as before. Resolves #90702 r? `@petrochenkov`
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
