diff options
| author | dianne <diannes.gm@gmail.com> | 2025-02-09 04:11:23 -0800 |
|---|---|---|
| committer | dianne <diannes.gm@gmail.com> | 2025-02-10 04:08:41 -0800 |
| commit | e1c6eade1619e2b84b39d61811407afc1f82fd12 (patch) | |
| tree | 7fd5226c665f6c9c9c7dbbac3d5f61a38b6c43de /compiler/rustc_mir_build/src/errors.rs | |
| parent | 80c091958f05e573433df974f8d2f2bc3a3eadfb (diff) | |
| download | rust-e1c6eade1619e2b84b39d61811407afc1f82fd12.tar.gz rust-e1c6eade1619e2b84b39d61811407afc1f82fd12.zip | |
move pattern migration setup/emitting to a separate module
Diffstat (limited to 'compiler/rustc_mir_build/src/errors.rs')
| -rw-r--r-- | compiler/rustc_mir_build/src/errors.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_mir_build/src/errors.rs b/compiler/rustc_mir_build/src/errors.rs index 07bdc59756a..9f8b52165ab 100644 --- a/compiler/rustc_mir_build/src/errors.rs +++ b/compiler/rustc_mir_build/src/errors.rs @@ -1113,9 +1113,6 @@ pub(crate) struct Rust2024IncompatiblePatSugg { pub(crate) suggestion: Vec<(Span, String)>, pub(crate) ref_pattern_count: usize, pub(crate) binding_mode_count: usize, - /// Internal state: the ref-mutability of the default binding mode at the subpattern being - /// lowered, with the span where it was introduced. `None` for a by-value default mode. - pub(crate) default_mode_span: Option<(Span, ty::Mutability)>, /// Labels for where incompatibility-causing by-ref default binding modes were introduced. pub(crate) default_mode_labels: FxIndexMap<Span, ty::Mutability>, } |
