]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_lint/src/types.rs
Rollup merge of #79227 - sasurau4:test/move-cell-test-to-lib-core, r=jyn514
[rust.git] / compiler / rustc_lint / src / types.rs
index 38c71e6e9258973a3b05ac33278f74ae13bb3c3d..9ad9d53cd0db3512205bde954f4fe049029d5718 100644 (file)
@@ -1131,7 +1131,7 @@ fn emit_ffi_unsafe_type_lint(
     fn check_for_opaque_ty(&mut self, sp: Span, ty: Ty<'tcx>) -> bool {
         struct ProhibitOpaqueTypes<'a, 'tcx> {
             cx: &'a LateContext<'tcx>,
-        };
+        }
 
         impl<'a, 'tcx> ty::fold::TypeVisitor<'tcx> for ProhibitOpaqueTypes<'a, 'tcx> {
             type BreakTy = Ty<'tcx>;