]> git.lizzy.rs Git - rust.git/blob - tests/ui/borrowck/borrowck-fixed-length-vecs.rs
implement Hash for proc_macro::LineColumn
[rust.git] / tests / ui / borrowck / borrowck-fixed-length-vecs.rs
1 // run-pass
2
3 pub fn main() {
4     let x = [22];
5     let y = &x[0];
6     assert_eq!(*y, 22);
7 }