summary refs log tree commit diff
path: root/src/test/compile-fail/extfmt-unsigned-plus.rs
blob: d8a9f4fa98dff8e18dbaad1386eea4feeabbc08f (plain)
1
2
3
4
5
6
// error-pattern:only valid in signed #fmt conversion

fn main() {
    // Can't use a sign on unsigned conversions
    fmt!("%+u", 10u);
}