mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 13:24:22 +00:00
10 lines
137 B
Rust
10 lines
137 B
Rust
![]() |
fn foo(a: int) {
|
||
|
let _p: &static.int = &a; //! ERROR mismatched types
|
||
|
}
|
||
|
|
||
|
fn bar(a: int) {
|
||
|
let _q: &blk.int = &a;
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
}
|