We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff68d1 commit b7070f3Copy full SHA for b7070f3
1 file changed
compiler/rustc_hir/src/definitions.rs
@@ -407,13 +407,11 @@ impl Definitions {
407
// Find the next free disambiguator for this key.
408
let disambiguator = {
409
#[cfg(debug_assertions)]
410
- {
411
- debug_assert_eq!(
412
- parent,
413
- disambiguator.parent.expect("must be set"),
414
- "provided parent and parent in disambiguator must be the same"
415
- )
416
- }
+ debug_assert_eq!(
+ parent,
+ disambiguator.parent.expect("must be set"),
+ "provided parent and parent in disambiguator must be the same"
+ );
417
418
let next_disamb = disambiguator.next.entry(data).or_insert(0);
419
let disambiguator = *next_disamb;
0 commit comments