Sign in
rust
/
rust
/
HEAD
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
borrow_deref_ref_unfixable.rs
blob: f05a90d2c1fa8b973334243911bc616d52aff0dd [
file
] [
log
] [
blame
]
//@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
}
}