]> git.lizzy.rs Git - rust.git/blob - tests/ui/rc_buffer_redefined_string.rs
Auto merge of #6298 - JohnTitor:fix-example, r=llogiq
[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() {}