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 adc750f commit dd7b36fCopy full SHA for dd7b36f
compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs
@@ -2069,8 +2069,8 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
2069
)
2070
}
2071
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);
+ if let Some(guar) = self.prohibit_or_lint_bare_trait_object_ty(hir_ty, in_path) {
+ return Ty::new_error(tcx, guar);
2074
2075
2076
let repr = match repr {
0 commit comments