Skip to content

Commit c78e9f9

Browse files
committed
review comment: guard -> guar
1 parent e38f163 commit c78e9f9

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,8 +2080,8 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
20802080
)
20812081
}
20822082
hir::TyKind::TraitObject(bounds, lifetime, repr) => {
2083-
if let Some(guard) = self.prohibit_or_lint_bare_trait_object_ty(hir_ty, in_path) {
2084-
return Ty::new_error(tcx, guard);
2083+
if let Some(guar) = self.prohibit_or_lint_bare_trait_object_ty(hir_ty, in_path) {
2084+
return Ty::new_error(tcx, guar);
20852085
}
20862086

20872087
let repr = match repr {

0 commit comments

Comments
 (0)