rust/compiler
bors 42e5621c53 Auto merge of #84113 - SNCPlay42:suggestion-extern-crate, r=petrochenkov
Detect when suggested paths enter extern crates more rigorously

When reporting resolution errors, the compiler tries to avoid suggesting importing inaccessible paths from other crates. However, the search for suggestions only recognized when it was entering a crate root directly, and so failed to recognize a path like `crate::module::private_item`, where `module` was imported from another crate with `use other_crate::module`, as entering another crate.

Fixes #80079
Fixes #84081
2021-04-17 02:23:10 +00:00
..
rustc use jemallocator in rustc/rustdoc 2021-04-04 14:10:26 -07:00
rustc_apfloat
rustc_arena
rustc_ast Implement token-based handling of attributes during expansion 2021-04-11 01:31:36 -04:00
rustc_ast_lowering Implement token-based handling of attributes during expansion 2021-04-11 01:31:36 -04:00
rustc_ast_passes Remove #[main] attribute. 2021-04-16 13:04:02 +08:00
rustc_ast_pretty Use AnonConst for asm! constants 2021-04-06 12:35:41 +01:00
rustc_attr Allow specifying alignment for functions 2021-04-05 17:36:51 -04:00
rustc_builtin_macros Remove #[main] attribute. 2021-04-16 13:04:02 +08:00
rustc_codegen_cranelift Add more SIMD math.h intrinsics 2021-04-14 15:25:06 -07:00
rustc_codegen_llvm Add more SIMD math.h intrinsics 2021-04-14 15:25:06 -07:00
rustc_codegen_ssa Fix typos in rustc_codegen_ssa/src/back/write.rs. 2021-04-14 16:27:01 +01:00
rustc_data_structures Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00
rustc_driver Rollup merge of #83895 - eggyal:issue-83883, r=jyn514 2021-04-06 17:42:31 +02:00
rustc_error_codes Remove #[main] attribute. 2021-04-16 13:04:02 +08:00
rustc_errors Document compiler/ with -Aprivate-intra-doc-links 2021-04-05 08:38:09 -04:00
rustc_expand Implement token-based handling of attributes during expansion 2021-04-11 01:31:36 -04:00
rustc_feature Remove #[main] attribute. 2021-04-16 13:04:02 +08:00
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #83980 - pierwill:fix-compiler-librustc-names, r=davidtwco 2021-04-08 20:29:58 +02:00
rustc_hir_pretty Use AnonConst for asm! constants 2021-04-06 12:35:41 +01:00
rustc_incremental Also profile finishing the encoding. 2021-03-30 18:10:08 +02:00
rustc_index Add fixme comment to revert change once const_panic is stable 2021-04-03 13:07:03 +02:00
rustc_infer Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00
rustc_interface Track -C link-dead-code during incremental compilation 2021-04-15 15:05:26 -04:00
rustc_lexer Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00
rustc_lint Run buffered lints attached to anon consts 2021-04-15 11:11:44 -04:00
rustc_lint_defs Update docs for unsafe_op_in_unsafe_fn stability. 2021-04-14 08:28:40 -07:00
rustc_llvm Categorize and explain target features support 2021-04-09 10:16:04 -05:00
rustc_macros
rustc_metadata Rollup merge of #83820 - petrochenkov:nolinkargs, r=nagisa 2021-04-05 00:24:33 +02:00
rustc_middle Rollup merge of #84014 - estebank:cool-bears-hot-tip, r=varkor 2021-04-12 01:04:04 +02:00
rustc_mir Compiler error messages: reduce assertiveness of message E0384 2021-04-12 23:29:09 +01:00
rustc_mir_build move new c abi abort behavior behind feature gate 2021-04-13 09:55:21 -04:00
rustc_parse Auto merge of #84130 - Aaron1011:fix/none-delim-lookahead, r=petrochenkov 2021-04-14 20:45:23 +00:00
rustc_parse_format
rustc_passes Remove #[main] attribute. 2021-04-16 13:04:02 +08:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl Auto merge of #83207 - oli-obk:valtree2, r=lcnr 2021-04-02 10:28:12 +00:00
rustc_query_system Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00
rustc_resolve Auto merge of #84113 - SNCPlay42:suggestion-extern-crate, r=petrochenkov 2021-04-17 02:23:10 +00:00
rustc_save_analysis Remove hir::CrateItem. 2021-03-30 20:31:06 +02:00
rustc_serialize
rustc_session Track -C link-dead-code during incremental compilation 2021-04-15 15:05:26 -04:00
rustc_span Auto merge of #84217 - crlf0710:remove_main_attr_pure, r=petrochenkov 2021-04-16 08:01:45 +00:00
rustc_symbol_mangling Rollup merge of #80525 - devsnek:wasm64, r=nagisa 2021-04-05 00:24:23 +02:00
rustc_target Avoid an Option<Option<_>> 2021-04-13 18:42:19 +02:00
rustc_trait_selection Rollup merge of #83980 - pierwill:fix-compiler-librustc-names, r=davidtwco 2021-04-08 20:29:58 +02:00
rustc_traits Auto merge of #83207 - oli-obk:valtree2, r=lcnr 2021-04-02 10:28:12 +00:00
rustc_ty_utils Track bound vars 2021-03-31 10:15:27 -04:00
rustc_type_ir Remove nightly features in rustc_type_ir 2021-04-03 10:00:09 +02:00
rustc_typeck Auto merge of #84228 - SkiFire13:fix-84213, r=estebank 2021-04-16 05:13:43 +00:00