X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=compiler%2Frustc_borrowck%2Fsrc%2Fdef_use.rs;fp=compiler%2Frustc_borrowck%2Fsrc%2Fdef_use.rs;h=8e62a0198be46987733c4ad7c0608aff65cc84bf;hb=487cf647e7ddc12d47e262b697079f87c1f08019;hp=a5c0d77429de82d7f0812c58efd06ffbd1d75f77;hpb=2b03887add1ca379893ea11d649eab442706f514;p=rustc.git diff --git a/compiler/rustc_borrowck/src/def_use.rs b/compiler/rustc_borrowck/src/def_use.rs index a5c0d77429..8e62a0198b 100644 --- a/compiler/rustc_borrowck/src/def_use.rs +++ b/compiler/rustc_borrowck/src/def_use.rs @@ -1,3 +1,5 @@ +#![deny(rustc::untranslatable_diagnostic)] +#![deny(rustc::diagnostic_outside_of_impl)] use rustc_middle::mir::visit::{ MutatingUseContext, NonMutatingUseContext, NonUseContext, PlaceContext, };