rust/src/test/compile-fail
Alex Crichton b74663e027 Remove the notion of an "unknown format"
As mentioned in #9456, the format! syntax extension would previously consider an
empty format as a 'Unknown' format which could then also get coerced into a
different style of format on another argument.

This is unusual behavior because `{}` is a very common format and if you have
`{0} {0:?}` you wouldn't expect them both to be coereced to the `Poly`
formatter. This commit removes this coercion, but still retains the requirement
that each argument has exactly one format specified for it (an empty format now
counts as well).

Perhaps at a later date we can add support for multiple formats of one argument,
but this puts us in at least a backwards-compatible situation if we decide to do
that.
2013-09-27 09:39:05 -07:00
..
2013-09-04 23:09:51 -04:00
2013-09-16 22:19:23 -04:00
2013-09-23 18:23:22 -07:00
2013-09-16 22:19:23 -04:00
2013-09-23 18:23:22 -07:00
2013-09-23 18:23:22 -07:00
2013-09-23 18:23:22 -07:00
2013-09-16 22:19:23 -04:00
2013-09-16 22:19:23 -04:00
2013-09-03 20:00:41 +10:00
2013-09-03 20:00:41 +10:00
2013-09-16 22:19:23 -04:00
2013-09-03 20:00:41 +10:00
2013-09-03 20:00:41 +10:00
2013-09-03 20:00:41 +10:00
2013-08-19 14:55:35 -07:00
2013-09-04 02:28:16 +02:00
2013-09-16 22:19:23 -04:00
2013-09-16 22:19:23 -04:00
2013-09-16 22:19:23 -04:00
2013-08-18 13:14:15 -04:00
2013-08-18 13:14:15 -04:00
2013-09-23 18:23:22 -07:00
2013-09-16 22:19:23 -04:00
2013-09-16 22:19:23 -04:00