File tree Expand file tree Collapse file tree
compiler/rustc_hir_analysis/src/hir_ty_lowering Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2912,8 +2912,6 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
29122912 let parent_args = get_segment ( info. parent_args_segment_id ) . map ( |( segment, def_id) | {
29132913 let self_ty = get_delegation_self_ty ( self . tcx ( ) , self . item_def_id ( ) ) ;
29142914
2915- // FIXME(fn_delegation): execute this call with silenced dcx, as now warnings are duplicated, remove
2916- // diagnostics deduplication in `free-fn-to-trait-infer.rs` and `generics-gen-args-errors.rs`.
29172915 self . lower_generic_args_of_path (
29182916 segment. ident . span ,
29192917 def_id,
@@ -2937,8 +2935,6 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
29372935 & [ ]
29382936 } ;
29392937
2940- // FIXME(fn_delegation): execute this call with silenced dcx, as now warnings are duplicated, remove
2941- // diagnostics deduplication in `free-fn-to-trait-infer.rs` and `generics-gen-args-errors.rs`.
29422938 let args = self
29432939 . lower_generic_args_of_path (
29442940 segment. ident . span ,
You can’t perform that action at this time.
0 commit comments