[Clippy] Remove final std paths for diagnostic item · qinheping/verify-rust-std@7ae6827 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 7ae6827
[Clippy] Remove final std paths for diagnostic item
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -2058,6 +2058,7 @@ pub trait Seek { | ||
2058 | 2058 | /// It is used by the [`Seek`] trait. |
2059 | 2059 | #[derive(Copy, PartialEq, Eq, Clone, Debug)] |
2060 | 2060 | #[stable(feature = "rust1", since = "1.0.0")] |
2061 | +#[cfg_attr(not(test), rustc_diagnostic_item = "SeekFrom")] | |
2061 | 2062 | pub enum SeekFrom { |
2062 | 2063 | /// Sets the offset to the provided number of bytes. |
2063 | 2064 | #[stable(feature = "rust1", since = "1.0.0")] |