mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
only export the two check* functions from check_match
This commit is contained in:
parent
1543367624
commit
bb81f9bdec
@ -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…
Reference in New Issue
Block a user