mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
14 lines
200 B
Rust
14 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() {}
|