]> git.lizzy.rs Git - rust.git/blob - src/test/ui/switched-expectations.rs
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / switched-expectations.rs
1 fn main() {
2     let var = 10i32;
3     let ref string: String = var; //~ ERROR mismatched types [E0308]
4 }