]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/borrow_deref_ref_unfixable.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / tools / clippy / tests / ui / borrow_deref_ref_unfixable.rs
1 #![allow(dead_code, unused_variables)]
2
3 fn main() {}
4
5 mod should_lint {
6     fn two_helps() {
7         let s = &String::new();
8         let x: &str = &*s;
9     }
10 }