mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Support future uses of traits with associated types in rooting analysis (#34359)
* crown: Support Rc<T::Promise> and callback objects parameterized over a trait.. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * crown: Verify that attributes match between trait associated types and impls. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * crown: Check type aliases as part of associated type checks. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * crown: Add periods to all diagnostic messages. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Tidy. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Fix compile-fail test expectations. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
60dc3b26fb
commit
a014da590a
12 changed files with 296 additions and 33 deletions
|
@ -31,6 +31,7 @@ const MAX_LOG_DEPTH: usize = 10;
|
|||
const MAX_LOG_CHILDREN: usize = 15;
|
||||
|
||||
/// <https://developer.mozilla.org/en-US/docs/Web/API/Console>
|
||||
#[crown::unrooted_must_root_lint::must_root]
|
||||
pub(crate) struct Console;
|
||||
|
||||
impl Console {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue