Skip to content

Commit dd7b36f

Browse files
committed
review comment: guard -> guar
1 parent adc750f commit dd7b36f

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_hir_analysis/src/hir_ty_lowering

1 file changed

+2
-2
lines changed

compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2069,8 +2069,8 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
20692069
)
20702070
}
20712071
hir::TyKind::TraitObject(bounds, lifetime, repr) => {
2072-
if let Some(guard) = self.prohibit_or_lint_bare_trait_object_ty(hir_ty, in_path) {
2073-
return Ty::new_error(tcx, guard);
2072+
if let Some(guar) = self.prohibit_or_lint_bare_trait_object_ty(hir_ty, in_path) {
2073+
return Ty::new_error(tcx, guar);
20742074
}
20752075

20762076
let repr = match repr {

0 commit comments

Comments
 (0)