Sign in
rust
/
rust
/
36ba2c7712052d731a7082d0eba5ed3d9d56c133
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
borrow_deref_ref_unfixable.rs
blob: f05a90d2c1fa8b973334243911bc616d52aff0dd [
file
]
//@no-rustfix: overlapping suggestions
#![
allow
(
dead_code
,
unused_variables
)]
fn
main
()
{}
mod
should_lint
{
fn
two_helps
()
{
let
s
=
&
String
::
new
();
let
x
:
&
str
=
&*
s
;
//~^ borrow_deref_ref
}
}