style: Add diagnostics.

Bug: 1416282
Reviewed-by: xidorn
MozReview-Commit-ID: GTnFyZnXR84
This commit is contained in:
Emilio Cobos Álvarez 2018-06-10 01:08:43 +02:00
parent d65b29da27
commit 572a93142f
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 19 additions and 8 deletions

View file

@ -92,7 +92,7 @@ macro_rules! with_all_bounds {
/// NB: We need Clone so that we can derive(Clone) on struct with that
/// are parameterized on SelectorImpl. See
/// <https://github.com/rust-lang/rust/issues/26925>
pub trait SelectorImpl: Clone + Sized + 'static {
pub trait SelectorImpl: Clone + Debug + Sized + 'static {
type ExtraMatchingData: Sized + Default + 'static;
type AttrValue: $($InSelector)*;
type Identifier: $($InSelector)*;