Page MenuHomePhabricator

Bug 1917746 - Fix Rust 1.82's new elided_named_lifetimes warning. r=glandium!
ClosedPublic

Authored by nicolas.guichard on Sep 9 2024, 12:04 PM.
Referenced Files
Unknown Object (File)
Tue, Apr 14, 2:14 PM
Unknown Object (File)
Tue, Apr 14, 12:20 PM
Unknown Object (File)
Mon, Apr 13, 1:45 AM
Unknown Object (File)
Feb 13 2026, 2:38 PM
Unknown Object (File)
Dec 23 2025, 10:08 AM
Unknown Object (File)
Nov 13 2025, 3:35 PM
Unknown Object (File)
Nov 13 2025, 3:35 PM
Unknown Object (File)
Oct 14 2025, 7:36 PM
Subscribers

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
emilio added inline comments.
gfx/webrender_bindings/src/moz2d_renderer.rs
310

Maybe pub fn new(buf: &'a [u8]) -> Self { instead?

servo/ports/geckolib/glue.rs
6376

Same, -> Self should work and hopefully not trigger the warning?

nicolas.guichard added inline comments.
servo/ports/geckolib/glue.rs
6376

Yes, that's better indeed.

Please file a separate bug for this and move it there.

This revision now requires changes to proceed.Sep 10 2024, 12:30 AM
glandium retitled this revision from Bug 1846041 - Fix Rust Nightly's new elided_named_lifetimes warning. r=glandium! to Bug 1917746 - Fix Rust 1.82's new elided_named_lifetimes warning. r=glandium!.Sep 10 2024, 3:38 AM
glandium removed a reviewer: glandium.
glandium changed the Bugzilla Bug ID from 1846041 to 1917746.
This revision is now accepted and ready to land.Sep 10 2024, 3:38 AM