a few more diagnostic items
This commit is contained in:
parent
c6bb62810a
commit
67fcaaaa7a
5 changed files with 7 additions and 1 deletions
|
@ -90,6 +90,7 @@ pub struct OsString {
|
|||
///
|
||||
/// [`&str`]: str
|
||||
/// [conversions]: super#conversions
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "OsStr")]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
// FIXME:
|
||||
// `OsStr::from_inner` current implementation relies
|
||||
|
|
|
@ -1720,6 +1720,7 @@ impl AsRef<OsStr> for PathBuf {
|
|||
/// let extension = path.extension();
|
||||
/// assert_eq!(extension, Some(OsStr::new("txt")));
|
||||
/// ```
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "Path")]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
// FIXME:
|
||||
// `Path::new` current implementation relies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue