We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
guard
guar
1 parent e38f163 commit c78e9f9Copy full SHA for c78e9f9
compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs
@@ -2080,8 +2080,8 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
2080
)
2081
}
2082
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);
+ if let Some(guar) = self.prohibit_or_lint_bare_trait_object_ty(hir_ty, in_path) {
+ return Ty::new_error(tcx, guar);
2085
2086
2087
let repr = match repr {
0 commit comments