2011-09-01 17:49:29 -07:00
|
|
|
// error-pattern:only valid in signed #fmt conversion
|
2011-06-04 16:04:40 -04:00
|
|
|
|
|
|
|
fn main() {
|
2011-07-27 14:19:39 +02:00
|
|
|
// Can't use a sign on unsigned conversions
|
2012-07-30 16:01:07 -07:00
|
|
|
fmt!{"%+u", 10u};
|
2011-08-19 15:16:48 -07:00
|
|
|
}
|