Rename _match
to usefulness
This commit is contained in:
parent
2de0475826
commit
941c6ac1a2
4 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
use super::_match::Usefulness::*;
|
||||
use super::_match::{
|
||||
use super::usefulness::Usefulness::*;
|
||||
use super::usefulness::{
|
||||
compute_match_usefulness, expand_pattern, MatchArm, MatchCheckCtxt, UsefulnessReport,
|
||||
};
|
||||
use super::{PatCtxt, PatKind, PatternError};
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
use self::Constructor::*;
|
||||
use self::SliceKind::*;
|
||||
|
||||
use super::_match::{MatchCheckCtxt, PatCtxt};
|
||||
use super::compare_const_vals;
|
||||
use super::usefulness::{MatchCheckCtxt, PatCtxt};
|
||||
use super::{FieldPat, Pat, PatKind, PatRange};
|
||||
|
||||
use rustc_data_structures::captures::Captures;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
//! Validation of patterns/matches.
|
||||
|
||||
mod _match;
|
||||
mod check_match;
|
||||
mod const_to_pat;
|
||||
mod deconstruct_pat;
|
||||
mod usefulness;
|
||||
|
||||
pub(crate) use self::check_match::check_match;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue