]> git.lizzy.rs Git - rust.git/blob - tests/ui/rc_buffer_redefined_string.rs
Auto merge of #85538 - r00ster91:iterrepeat, r=Mark-Simulacrum
[rust.git] / 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() {}