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