rust/compiler
Dylan DPC 4d1c273b32
Rollup merge of #99249 - cjgillot:no-reparse-fn, r=fee1-dead
Do not re-parse function signatures to suggest generics

This PR uses the existing resolution rib infrastructure to channel the correct span information to suggest generic parameters.  This allows to avoid re-parsing a function's source code.

Drive-by cleanup: this removes useless `FnItemRibKind` from late resolution ribs.  All the use cases are already covered by `ItemRibKind` and `AssocItemRibKind` which have more precise semantics.
2022-08-23 20:40:01 +05:30
..
rustc Don't rerun the build script for the compiler each time on linux 2022-07-10 23:57:25 -05:00
rustc_apfloat Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_arena Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcm 2022-08-21 16:54:07 +02:00
rustc_ast Rollup merge of #100565 - TaKO8Ki:suggest-adding-missing-semicolon-before-item, r=compiler-errors 2022-08-23 06:55:24 +02:00
rustc_ast_lowering Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
rustc_ast_passes Replace #[error(..)] etc. to #[diag(..)] 2022-08-22 01:24:47 +09:00
rustc_ast_pretty Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_attr Adjust cfgs 2022-08-12 16:28:15 -04:00
rustc_borrowck get rid of RefCell in TransitiveRelation 2022-08-22 18:08:46 +08:00
rustc_builtin_macros Rollup merge of #100694 - finalchild:ast-passes-diag, r=TaKO8Ki 2022-08-22 11:45:44 +05:30
rustc_codegen_cranelift Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcm 2022-08-21 16:54:07 +02:00
rustc_codegen_gcc Replace most uses of pointer::offset with add and sub 2022-08-21 02:21:41 +04:00
rustc_codegen_llvm Rollup merge of #100460 - cuviper:drop-llvm-12, r=nagisa 2022-08-16 06:05:57 +02:00
rustc_codegen_ssa Refactor part of codegen_call_terminator 2022-08-22 11:34:06 -07:00
rustc_const_eval fix ICE with extra-const-ub-checks 2022-08-21 20:00:38 -04:00
rustc_data_structures get rid of RefCell in TransitiveRelation 2022-08-22 18:08:46 +08:00
rustc_driver Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
rustc_error_codes Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_error_messages Rollup merge of #100713 - Xiretza:parser-expr-session-diagnostics, r=estebank 2022-08-22 20:34:14 +05:30
rustc_errors Add Handler::struct_diagnostic() 2022-08-21 09:17:43 +02:00
rustc_expand Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
rustc_feature Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_fs_util Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_graphviz Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_hir Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_hir_pretty Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_incremental Remove trait_of_item query. 2022-08-01 21:39:26 +02:00
rustc_index Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_infer re-base and use OutlivesEnvironment::with_bounds 2022-08-22 18:36:02 +08:00
rustc_interface Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
rustc_lexer Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_lint Use DiagnosticMessage for BufferedEarlyLint.msg 2022-08-22 00:57:21 +09:00
rustc_lint_defs Tidy 2022-08-22 00:57:21 +09:00
rustc_llvm Auto merge of #100627 - krasimirgg:lto-llvm-16, r=cuviper 2022-08-21 07:19:49 +00:00
rustc_log Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_macros Fix build_format not unescaping braces properly 2022-08-22 01:11:59 +09:00
rustc_metadata Auto merge of #100209 - cjgillot:source-file-index, r=estebank 2022-08-19 15:31:25 +00:00
rustc_middle Auto merge of #99963 - cjgillot:iter-submodule, r=compiler-errors 2022-08-22 23:09:35 +00:00
rustc_mir_build Auto merge of #100881 - Dylan-DPC:rollup-q9rr658, r=Dylan-DPC 2022-08-22 17:46:57 +00:00
rustc_mir_dataflow use type alias impl trait in outlives_bounds::InferCtxtExt 2022-08-22 18:10:28 +08:00
rustc_mir_transform Enable UnreachablePropagation under mir-opt-level >= 2 2022-08-21 21:15:28 +02:00
rustc_monomorphize Minor syntax and formatting update to doc comment 2022-08-19 10:53:18 -07:00
rustc_parse Rollup merge of #100565 - TaKO8Ki:suggest-adding-missing-semicolon-before-item, r=compiler-errors 2022-08-23 06:55:24 +02:00
rustc_parse_format Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_passes Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
rustc_plugin_impl remove currently unused deps 2022-06-13 22:20:51 +03:00
rustc_privacy Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
rustc_query_impl Rollup merge of #100723 - 5225225:the-easy-ones, r=compiler-errors 2022-08-20 07:09:03 +02:00
rustc_query_system Auto merge of #100441 - nnethercote:shrink-ast-Attribute, r=petrochenkov 2022-08-16 07:54:22 +00:00
rustc_resolve Mark suggestion as MaybeIncorrect. 2022-08-23 00:09:58 +02:00
rustc_save_analysis Remove DefId from AssocItemContainer. 2022-08-01 21:38:45 +02:00
rustc_serialize Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcm 2022-08-21 16:54:07 +02:00
rustc_session Fix incorrect return type of emit_fatal 2022-08-22 01:11:59 +09:00
rustc_smir Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_span Remove generate_fn_name_span and generate_local_type_param_snippet. 2022-08-23 00:08:42 +02:00
rustc_symbol_mangling Auto merge of #95548 - rcvalle:rust-cfi-2, r=nagisa 2022-07-24 01:22:36 +00:00
rustc_target Rollup merge of #100641 - corwinkuiper:add-armv4t-target, r=oli-obk 2022-08-23 06:55:25 +02:00
rustc_trait_selection Rollup merge of #100789 - compiler-errors:issue-99662, r=spastorino 2022-08-23 06:55:26 +02:00
rustc_traits Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_transmute ADD - diagnostic lints to rustc_transmute 2022-08-21 09:17:09 -04:00
rustc_ty_utils implied_bounds: clarify our assumptions 2022-08-17 12:22:32 +02:00
rustc_type_ir ADD - diagnostic lints to type_ir 2022-08-18 13:33:03 -04:00
rustc_typeck Rollup merge of #99249 - cjgillot:no-reparse-fn, r=fee1-dead 2022-08-23 20:40:01 +05:30