1
Fork 0

Rollup merge of #130607 - GnomedDev:remove-seekfrom-paths, r=compiler-errors

[Clippy] Remove final std paths for diagnostic item

Removes the paths to SeekFrom::Start/Current that were left in #130553.

This was split off as it involves introducing a utility to check for enum ctors, as both:
- enum variants cannot be diagnostic items
- even if they could, that wouldn't help because we need to get the enum variant ctor

While adding the `is_enum_variant_ctor`, I removed both `is_diagnostic_ctor` and `is_res_diagnostic_ctor` as they are unused and never worked due to the above bullet points.
This commit is contained in:
Guillaume Gomez 2024-09-20 15:45:47 +02:00 committed by GitHub
commit b2bcdbc797
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 20 additions and 25 deletions

View file

@ -309,6 +309,7 @@ symbols! {
RwLockReadGuard,
RwLockWriteGuard,
Saturating,
SeekFrom,
Send,
SeqCst,
Sized,