Add internal diagnistics lints

This commit is contained in:
Hampus Lidin 2022-08-21 10:03:28 +02:00
parent 83a724eab5
commit 40c5184eec

View File

@ -5,6 +5,8 @@
//! to this crate.
#![feature(let_else)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]
#[macro_use]
extern crate rustc_macros;