]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/borrow_deref_ref_unfixable.rs
Rollup merge of #97908 - iago-lito:stabilize_nonzero_checked_ops_constness, r=scottmcm
[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 }