Sign in
rust
/
rust
/
d7e8f9fc7af4aa4cd65140afaebe48dd1e90e708
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
borrow_deref_ref_unfixable.rs
blob: 7069077c6fef6cdfd29d8da8221ad43b8f5a0e20 [
file
]
//@no-rustfix: overlapping suggestions
fn
main
()
{}
mod
should_lint
{
fn
two_helps
()
{
let
s
=
&
String
::
new
();
let
x
:
&
str
=
&*
s
;
//~^ borrow_deref_ref
}
}