only export the two check* functions from check_match
This commit is contained in:
parent
1543367624
commit
bb81f9bdec
2 changed files with 3 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ pub fn provide(providers: &mut Providers) {
|
|||
shim::provide(providers);
|
||||
transform::provide(providers);
|
||||
providers.const_eval = interpret::const_eval_provider;
|
||||
providers.check_match = pattern::check_match::check_match;
|
||||
providers.check_match = pattern::check_match;
|
||||
}
|
||||
|
||||
__build_diagnostic_array! { librustc_mir, DIAGNOSTICS }
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@
|
|||
//! constant evaluation on the HIR and code to validate patterns/matches
|
||||
|
||||
mod _match;
|
||||
pub(crate) mod check_match;
|
||||
mod check_match;
|
||||
pub(crate) mod pattern;
|
||||
|
||||
pub use self::check_match::check_crate;
|
||||
pub(crate) use self::check_match::check_match;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue