Rollup merge of #137722 - yotamofek:pr/rustdoc/edition-2024, r=notriddle

`librustdoc`: 2024 edition! 🎊

Like #137333 , but for rustdoc 😁
This commit is contained in:
Jubilee 2025-03-04 14:50:42 -08:00 committed by GitHub
commit dcc85e3e1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 289 additions and 447 deletions

View file

@ -1,8 +0,0 @@
/// "Signaling" trait used in impl trait to tag lifetimes that you may
/// need to capture but don't really need for other reasons.
/// Basically a workaround; see [this comment] for details.
///
/// [this comment]: https://github.com/rust-lang/rust/issues/34511#issuecomment-373423999
pub trait Captures<'a> {}
impl<'a, T: ?Sized> Captures<'a> for T {}

View file

@ -48,7 +48,6 @@ pub use rustc_index::static_assert_size;
pub mod aligned;
pub mod base_n;
pub mod binary_search_util;
pub mod captures;
pub mod fingerprint;
pub mod flat_map_in_place;
pub mod flock;