add diagnostic items
Add diagnostic items to the following types: OsString (os_string_type) PathBuf (path_buf_type) Owned (to_owned_trait) As well as the to_vec method on slice/[T]
This commit is contained in:
parent
b86674e7cc
commit
5ef202520f
5 changed files with 8 additions and 0 deletions
|
@ -1066,6 +1066,7 @@ impl FusedIterator for Ancestors<'_> {}
|
|||
///
|
||||
/// Which method works best depends on what kind of situation you're in.
|
||||
#[derive(Clone)]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "path_buf_type")]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
// FIXME:
|
||||
// `PathBuf::as_mut_vec` current implementation relies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue