mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
crown: Do not check trait item projections. (#36095)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
80434d4644
commit
471f3f49bc
12 changed files with 32 additions and 22 deletions
|
@ -253,7 +253,6 @@ impl GPUCanvasContext {
|
|||
impl CanvasContext for GPUCanvasContext {
|
||||
type ID = WebGPUContextId;
|
||||
|
||||
#[cfg_attr(crown, allow(crown::unrooted_must_root))] // Crown is wrong here #35570
|
||||
fn context_id(&self) -> WebGPUContextId {
|
||||
self.context_id
|
||||
}
|
||||
|
|
|
@ -139,8 +139,6 @@ pub(crate) fn gpu_to_wgt_feature(feature: GPUFeatureName) -> Option<Features> {
|
|||
}
|
||||
}
|
||||
|
||||
// this error is wrong because if we inline Self::Key and Self::Value all errors are gone
|
||||
#[cfg_attr(crown, allow(crown::unrooted_must_root))]
|
||||
impl Setlike for GPUSupportedFeatures {
|
||||
type Key = DOMString;
|
||||
|
||||
|
|
|
@ -54,8 +54,6 @@ impl WGSLLanguageFeaturesMethods<crate::DomTypeHolder> for WGSLLanguageFeatures
|
|||
}
|
||||
}
|
||||
|
||||
// this error is wrong because if we inline Self::Key and Self::Value all errors are gone
|
||||
#[cfg_attr(crown, allow(crown::unrooted_must_root))]
|
||||
impl Setlike for WGSLLanguageFeatures {
|
||||
type Key = DOMString;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue