diff options
| author | GnomedDev <david2005thomas@gmail.com> | 2024-09-19 14:30:22 +0100 |
|---|---|---|
| committer | GnomedDev <david2005thomas@gmail.com> | 2024-09-20 10:39:31 +0100 |
| commit | 98e68e504005a06edaffcee7d9303e50aa2ac7ac (patch) | |
| tree | 04b7df47e95e503697745ae007cdcfcd6a123718 /library | |
| parent | 976487c48b4fe6eda910c75a42ba23118d560fe1 (diff) | |
| download | rust-98e68e504005a06edaffcee7d9303e50aa2ac7ac.tar.gz rust-98e68e504005a06edaffcee7d9303e50aa2ac7ac.zip | |
[Clippy] Remove final std paths for diagnostic item
Diffstat (limited to 'library')
| -rw-r--r-- | library/std/src/io/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs index 644b294db8d..2a4262b2367 100644 --- a/library/std/src/io/mod.rs +++ b/library/std/src/io/mod.rs @@ -2058,6 +2058,7 @@ pub trait Seek { /// It is used by the [`Seek`] trait. #[derive(Copy, PartialEq, Eq, Clone, Debug)] #[stable(feature = "rust1", since = "1.0.0")] +#[cfg_attr(not(test), rustc_diagnostic_item = "SeekFrom")] pub enum SeekFrom { /// Sets the offset to the provided number of bytes. #[stable(feature = "rust1", since = "1.0.0")] |
