[Clippy] Remove final std paths for diagnostic item · qinheping/verify-rust-std@7ae6827 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 7ae6827
[Clippy] Remove final std paths for diagnostic item
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 0 deletions
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")] |