summaryrefslogtreecommitdiffstats
path: root/src/test/ui/switched-expectations.rs
blob: c5bc84de54c4887a52c2058d01e716719d9d2663 (plain)
1
2
3
4
fn main() {
    let var = 10i32;
    let ref string: String = var; //~ ERROR mismatched types [E0308]
}