mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00
10 lines
157 B
Rust
10 lines
157 B
Rust
const fn f() -> usize {
|
|
//~^ ERROR mismatched types
|
|
const FIELD: usize = loop {
|
|
0
|
|
//~^ ERROR mismatched types
|
|
};
|
|
}
|
|
|
|
fn main() {}
|