10 lines
107 B
Rust
10 lines
107 B
Rust
|
// error-pattern:Unsatisfied precondition
|
||
|
|
||
|
fn foo(int x) {
|
||
|
log x;
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
let int x;
|
||
|
foo(x);
|
||
|
}
|