mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 19:17:12 +00:00
Minic rustc's new format_args! expansion
This commit is contained in:
parent
c13859903c
commit
4f8767d790
7 changed files with 366 additions and 41 deletions
|
|
@ -446,13 +446,13 @@ impl MiniCore {
|
|||
}
|
||||
|
||||
let mut keep = true;
|
||||
for ®ion in active_regions.iter() {
|
||||
for ®ion in &active_regions {
|
||||
assert!(!region.starts_with(' '), "region marker starts with a space: {region:?}");
|
||||
self.assert_valid_flag(region);
|
||||
seen_regions.push(region);
|
||||
keep &= self.has_flag(region);
|
||||
}
|
||||
for ®ion in inactive_regions.iter() {
|
||||
for ®ion in &inactive_regions {
|
||||
assert!(!region.starts_with(' '), "region marker starts with a space: {region:?}");
|
||||
self.assert_valid_flag(region);
|
||||
seen_regions.push(region);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue