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

7 lines
139 B
Rust

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