correct regression in toplevel & error message

Broken in bb16060ddb8df75b2096966dda1e5c700a494407
This commit is contained in:
ConnorSkees 2020-02-17 09:47:14 -05:00
parent 85a2c8eaeb
commit af4917a4e6

View File

@ -454,7 +454,7 @@ impl<'a> StyleSheetParser<'a> {
}
TokenKind::Symbol(Symbol::BitAnd) => {
return Err(
"Top-level selectors may not contain the parent selector \"&\".".into(),
"Base-level rules cannot contain the parent-selector-referencing character '&'.".into(),
)
}
_ => match dbg!(self.lexer.next()) {