rust/src/test/compile-fail/extfmt-unsigned-space.rs
2011-09-01 18:54:03 -07:00

7 lines
140 B
Rust

// error-pattern:only valid in signed #fmt conversion
fn main() {
// Can't use a space on unsigned conversions
#fmt["% u", 10u];
}