Introduce the (WIP) THIR unsafety checker
This commit is contained in:
@@ -19,6 +19,7 @@ extern crate tracing;
|
||||
extern crate rustc_middle;
|
||||
|
||||
mod build;
|
||||
mod check_unsafety;
|
||||
mod lints;
|
||||
pub mod thir;
|
||||
|
||||
@@ -28,4 +29,6 @@ pub fn provide(providers: &mut Providers) {
|
||||
providers.check_match = thir::pattern::check_match;
|
||||
providers.lit_to_const = thir::constant::lit_to_const;
|
||||
providers.mir_built = build::mir_built;
|
||||
providers.thir_check_unsafety = check_unsafety::thir_check_unsafety;
|
||||
providers.thir_check_unsafety_for_const_arg = check_unsafety::thir_check_unsafety_for_const_arg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user