about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-11-25 19:51:54 +0100
committerGitHub <noreply@github.com>2023-11-25 19:51:54 +0100
commit9a59b059d5461a9de67719a8d8ce8ff8bdd06e06 (patch)
treec233eced2dc614fb0c3fd33119022e6d9e401e97 /compiler/rustc_trait_selection
parent6361989b6d22459235b9160c6e94b7a97be8c796 (diff)
parent57c9eb73814470d3223e4a0f4ca6ee588648ad6f (diff)
downloadrust-9a59b059d5461a9de67719a8d8ce8ff8bdd06e06.tar.gz
rust-9a59b059d5461a9de67719a8d8ce8ff8bdd06e06.zip
Rollup merge of #117871 - klensy:unused-pub, r=cjgillot
remove unused pub fns

This removes some unused `pub fn`; also fixes few obsoleted fn names or added fixmes with reminders to update them.
Diffstat (limited to 'compiler/rustc_trait_selection')
-rw-r--r--compiler/rustc_trait_selection/src/traits/coherence.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/coherence.rs b/compiler/rustc_trait_selection/src/traits/coherence.rs
index f3993ec2566..951b353647c 100644
--- a/compiler/rustc_trait_selection/src/traits/coherence.rs
+++ b/compiler/rustc_trait_selection/src/traits/coherence.rs
@@ -330,7 +330,7 @@ fn equate_impl_headers<'tcx>(
                 impl1.self_ty,
                 impl2.self_ty,
             ),
-            _ => bug!("mk_eq_impl_headers given mismatched impl kinds"),
+            _ => bug!("equate_impl_headers given mismatched impl kinds"),
         };
 
     result.map(|infer_ok| infer_ok.obligations).ok()