]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/let-destruct-ref.rs
Rollup merge of #104822 - spastorino:selctx-new-instead-of-with_query_mode, r=lcnr
[rust.git] / src / test / ui / binding / let-destruct-ref.rs
1 // run-pass
2
3 pub fn main() {
4     let x = 3_usize;
5     let ref y = x;
6     assert_eq!(x, *y);
7 }