mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 09:27:25 +00:00
13 lines
200 B
Rust
13 lines
200 B
Rust
use std::ffi::OsString;
|
|
use std::path::PathBuf;
|
|
use std::rc::Rc;
|
|
|
|
#[warn(clippy::rc_buffer)]
|
|
struct S {
|
|
a: Rc<String>,
|
|
b: Rc<PathBuf>,
|
|
c: Rc<Vec<u8>>,
|
|
d: Rc<OsString>,
|
|
}
|
|
|
|
fn main() {}
|