style: Add a couple FIXMEs I've noticed while working on this.

::slotted is hard.
This commit is contained in:
Emilio Cobos Álvarez 2018-01-11 15:40:02 +01:00
parent cb1a951477
commit 14661e470f
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 5 additions and 0 deletions

View file

@ -505,6 +505,9 @@ where
DescendantInvalidationKind::Slotted,
);
// FIXME(emilio): Need to handle nested slotted nodes if `element`
// is itself a <slot>.
debug_assert!(
sibling_invalidations.is_empty(),
"::slotted() shouldn't have sibling combinators to the right, \