Update nightly rustc.

This commit is contained in:
Josh Matthews 2021-09-07 01:44:56 -04:00
parent 74f1eb199e
commit 01681e79c4
20 changed files with 33 additions and 28 deletions

View file

@ -108,7 +108,7 @@ pub fn parse_counter_style_body<'i, 't>(
Some(ContextualParseError::InvalidCounterStyleWithoutSymbols(
system,
))
}
},
ref system @ System::Alphabetic | ref system @ System::Numeric
if rule.symbols().unwrap().0.len() < 2 =>
{
@ -116,7 +116,7 @@ pub fn parse_counter_style_body<'i, 't>(
Some(ContextualParseError::InvalidCounterStyleNotEnoughSymbols(
system,
))
}
},
System::Additive if rule.additive_symbols.is_none() => {
Some(ContextualParseError::InvalidCounterStyleWithoutAdditiveSymbols)
},