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