]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/rc_buffer_redefined_string.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / rc_buffer_redefined_string.rs
CommitLineData
f20569fa
XL
1#![warn(clippy::rc_buffer)]
2
3use std::rc::Rc;
4
5struct String;
6
7struct S {
8 // does not trigger lint
9 good1: Rc<String>,
10}
11
12fn main() {}