]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/borrowed-ptr-pattern-infallible.rs
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / ui / binding / borrowed-ptr-pattern-infallible.rs
1 // run-pass
2
3
4 pub fn main() {
5     let (&x, &y) = (&3, &'a');
6     assert_eq!(x, 3);
7     assert_eq!(y, 'a');
8 }