Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
rc_buffer_redefined_string.rs
blob: 49a8ba3e2efbbc9a613fa8773ed3fade29ea6221 [
file
] [
log
] [
blame
]
//@ check-pass
#![
warn
(
clippy
::
rc_buffer
)]
use
std
::
rc
::
Rc
;
struct
String
;
struct
S
{
// does not trigger lint
good1
:
Rc
<
String
>,
}
fn
main
()
{}