1
Fork 0
rust/compiler
bors 9add63257b Auto merge of #96353 - estebank:issue-95413, r=compiler-errors
When suggesting to import an item, also suggest changing the path if appropriate

When we don't find an item we search all of them for an appropriate
import and suggest `use`ing it. This is sometimes done for expressions
that have paths with more than one segment. We now also suggest changing
that path to work with the `use`.

Fix #95413
2022-05-04 01:58:23 +00:00
..
rustc Propagate parallel_compiler feature through rustc crates. Turned off feature gives change of builded crates: 238 -> 224. 2022-03-28 08:41:12 +03:00
rustc_apfloat Addressed comments by @compiler-errors and @bjorn3 2022-03-30 17:04:46 -04:00
rustc_arena mark FIXMES for all the places found that are probably offset_from 2022-03-29 20:18:28 -04:00
rustc_ast Add do yeet expressions to allow experimentation in nightly 2022-04-30 17:40:27 -07:00
rustc_ast_lowering Auto merge of #95380 - compiler-errors:unit-destructure-assign, r=nikomatsakis 2022-05-03 22:29:58 +00:00
rustc_ast_passes Feature-gate do yeet inside cfgs too 2022-04-30 18:10:01 -07:00
rustc_ast_pretty Add do yeet expressions to allow experimentation in nightly 2022-04-30 17:40:27 -07:00
rustc_attr Rollup merge of #94948 - jhpratt:rustc_deprecated, r=Dylan-DPC 2022-03-20 09:14:59 +01:00
rustc_borrowck rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
rustc_builtin_macros Auto merge of #96558 - bjorn3:librarify_parse_format, r=davidtwco 2022-05-03 20:03:54 +00:00
rustc_codegen_cranelift Merge commit 'f2cdd4a78d' into sync_cg_clif-2022-04-22 2022-04-22 21:11:38 +02:00
rustc_codegen_gcc Merge new_metadata into codegen_allocator 2022-04-30 21:20:08 +02:00
rustc_codegen_llvm Rollup merge of #96587 - bjorn3:refactor_backend_write, r=michaelwoerister 2022-05-03 14:58:57 +09:00
rustc_codegen_ssa Auto merge of #96601 - tmiasko:ssa-rpo, r=davidtwco 2022-05-03 12:16:00 +00:00
rustc_const_eval rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
rustc_data_structures incr. comp.: Don't export impl_stable_hash_via_hash!() and warn about using it. 2022-04-19 10:43:20 +02:00
rustc_driver errors: lazily load fallback fluent bundle 2022-04-13 02:44:59 +01:00
rustc_error_codes Remove ``` `ignore``` from E0705 test 2022-04-30 10:48:38 -05:00
rustc_error_messages macros: subdiagnostic derive 2022-04-29 02:05:20 +01:00
rustc_errors macros: subdiagnostic derive 2022-04-29 02:05:20 +01:00
rustc_expand Save colon span to suggest bounds. 2022-04-30 13:55:17 +02:00
rustc_feature Add do yeet expressions to allow experimentation in nightly 2022-04-30 17:40:27 -07:00
rustc_fs_util
rustc_graphviz
rustc_hir Auto merge of #95380 - compiler-errors:unit-destructure-assign, r=nikomatsakis 2022-05-03 22:29:58 +00:00
rustc_hir_pretty Store all generic bounds as where predicates. 2022-04-30 13:55:13 +02:00
rustc_incremental Rollup merge of #95434 - cjgillot:dump-dep-kind, r=oli-obk 2022-04-21 20:55:18 +02:00
rustc_index Add element iterator for ChunkedBitSet 2022-04-30 16:40:49 +02:00
rustc_infer rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
rustc_interface Rollup merge of #96090 - JakobDegen:mir-tests, r=nagisa 2022-04-25 00:10:59 +02:00
rustc_lexer Reduce max hash in raw strings from u16 to u8 2022-03-23 22:13:55 +01:00
rustc_lint Auto merge of #96558 - bjorn3:librarify_parse_format, r=davidtwco 2022-05-03 20:03:54 +00:00
rustc_lint_defs Plumb through rustc_lint_defs::Level as enum rather than string. 2022-04-27 10:04:25 -07:00
rustc_llvm RustWrapper: explicitly don't handle DXILPointerTyID 2022-04-28 13:53:52 -04:00
rustc_log
rustc_macros macros: add interop between diagnostic derives 2022-04-29 02:12:10 +01:00
rustc_metadata Box HIR Generics and Impl. 2022-04-30 13:51:49 +02:00
rustc_middle Rollup merge of #96599 - tmiasko:discriminant-docs, r=estebank 2022-05-03 14:58:59 +09:00
rustc_mir_build rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
rustc_mir_dataflow Fix -Zdump-mir-dataflow by implementing DebugWithContext for ChunkedBitSet 2022-04-30 16:40:54 +02:00
rustc_mir_transform re-name stuff 2022-05-01 15:38:22 +03:00
rustc_monomorphize rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
rustc_parse Fix invalid keyword order for function declarations 2022-05-02 18:14:43 +09:00
rustc_parse_format Make rustc_parse_format compile on stable 2022-05-03 11:26:58 +02:00
rustc_passes rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
rustc_plugin_impl
rustc_privacy rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
rustc_query_impl implement (as of now still unused) query for valtree -> constvalue conversion 2022-04-21 16:37:24 +02:00
rustc_query_system Remove NodeIdHashingMode. 2022-04-12 19:59:32 +02:00
rustc_resolve Auto merge of #96353 - estebank:issue-95413, r=compiler-errors 2022-05-04 01:58:23 +00:00
rustc_save_analysis rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
rustc_serialize Remove unused macro rules 2022-04-18 23:28:06 +02:00
rustc_session Rollup merge of #96433 - petrochenkov:delim, r=nnethercote 2022-04-28 20:13:02 +02:00
rustc_span Add do yeet expressions to allow experimentation in nightly 2022-04-30 17:40:27 -07:00
rustc_symbol_mangling Auto merge of #95655 - kckeiks:create-hir-crate-items-query, r=cjgillot 2022-04-17 08:06:53 +00:00
rustc_target Update data layout string for wasm64-unknown-unknown 2022-04-27 07:29:44 -07:00
rustc_trait_selection Auto merge of #96558 - bjorn3:librarify_parse_format, r=davidtwco 2022-05-03 20:03:54 +00:00
rustc_traits Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
rustc_ty_utils Avoid accessing HIR from MIR queries. 2022-04-10 13:08:36 +02:00
rustc_type_ir Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
rustc_typeck Rollup merge of #96646 - estebank:issue-96638, r=jackh726 2022-05-03 14:59:03 +09:00