diff options
| author | bors <bors@rust-lang.org> | 2023-10-06 13:07:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-06 13:07:15 +0000 |
| commit | 1bc0463b183392ad4e0ae9c5f7a76630d487230d (patch) | |
| tree | 603c1653e265dca10757496c9d2c83a21422f752 /library/alloc/src/string.rs | |
| parent | 6683f13fa1ba91ab84dd5bc5bc21965a1b0530e1 (diff) | |
| parent | 5674092e76f3736239910c892bf459ac686f47d1 (diff) | |
Auto merge of #116483 - GuillaumeGomez:rollup-z65pno1, r=GuillaumeGomez
Rollup of 6 pull requests Successful merges: - #115454 (Clarify example in docs of str::char_slice) - #115522 (Clarify ManuallyDrop bit validity) - #115588 (Fix a comment in std::iter::successors) - #116198 (Add more diagnostic items for clippy) - #116329 (update some comments around swap()) - #116475 (rustdoc-search: fix bug with multi-item impl trait) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/alloc/src/string.rs')
| -rw-r--r-- | library/alloc/src/string.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs index ed43244ebda..e42bed7d264 100644 --- a/library/alloc/src/string.rs +++ b/library/alloc/src/string.rs @@ -2435,6 +2435,7 @@ pub trait ToString { /// ``` #[rustc_conversion_suggestion] #[stable(feature = "rust1", since = "1.0.0")] + #[cfg_attr(not(test), rustc_diagnostic_item = "to_string_method")] fn to_string(&self) -> String; } |
