We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ff8c65 commit 95b83f9Copy full SHA for 95b83f9
compiler/rustc_typeck/src/coherence/orphan.rs
@@ -30,7 +30,7 @@ pub(crate) fn orphan_check_impl(
30
31
let ret = do_orphan_check_impl(tcx, trait_ref, impl_def_id);
32
if tcx.trait_is_auto(trait_ref.def_id) {
33
- lint_auto_trait_impls(tcx, trait_ref, impl_def_id);
+ lint_auto_trait_impl(tcx, trait_ref, impl_def_id);
34
}
35
36
ret
@@ -332,7 +332,7 @@ fn emit_orphan_check_error<'tcx>(
332
333
/// Lint impls of auto traits if they are likely to have
334
/// unsound or surprising effects on auto impls.
335
-fn lint_auto_trait_impls<'tcx>(
+fn lint_auto_trait_impl<'tcx>(
336
tcx: TyCtxt<'tcx>,
337
trait_ref: ty::TraitRef<'tcx>,
338
impl_def_id: LocalDefId,
0 commit comments