]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/rc_buffer_redefined_string.rs
Rollup merge of #102092 - kxxt:patch-1, r=joshtriplett
[rust.git] / src / tools / clippy / tests / ui / rc_buffer_redefined_string.rs
1 #![warn(clippy::rc_buffer)]
2
3 use std::rc::Rc;
4
5 struct String;
6
7 struct S {
8     // does not trigger lint
9     good1: Rc<String>,
10 }
11
12 fn main() {}