mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Merge commit 'cd3bf9fe51
' into sync-from-ra
This commit is contained in:
parent
bbd695589e
commit
9326cf7f0c
114 changed files with 3893 additions and 1252 deletions
|
@ -387,6 +387,10 @@ impl MiniCore {
|
|||
}
|
||||
}
|
||||
|
||||
if !active_regions.is_empty() {
|
||||
panic!("unclosed regions: {:?} Add an `endregion` comment", active_regions);
|
||||
}
|
||||
|
||||
for flag in &self.valid_flags {
|
||||
if !seen_regions.iter().any(|it| it == flag) {
|
||||
panic!("unused minicore flag: {flag:?}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue