Skip to content

Commit 295da9c

Browse files
committed
var_name.rs pass witout effort
1 parent f2702cb commit 295da9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_borrowck/src/diagnostics/var_name.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#![deny(rustc::untranslatable_diagnostic)]
2+
#![deny(rustc::diagnostic_outside_of_impl)]
3+
14
use crate::Upvar;
25
use crate::{nll::ToRegionVid, region_infer::RegionInferenceContext};
36
use rustc_index::vec::{Idx, IndexVec};

0 commit comments

Comments
 (0)