]> git.lizzy.rs Git - rust.git/blob - tests/ui/borrow_deref_ref_unfixable.rs
Move MSRV tests into the lint specific test files
[rust.git] / 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 }