summary refs log tree commit diff
path: root/src/test/compile-fail/swap-uninit.rs
blob: 27fdc61137982f9b902cd05064b89cd2c0a31861 (plain)
1
2
3
// error-pattern:Unsatisfied precondition

fn main() { let x = 3; let y; x <-> y; }