rust/src/librustdoc
bors 78c3fac852 auto merge of #9535 : alexcrichton/rust/no-format-default, r=thestinger
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:41:07 -07:00
..
html auto merge of #9535 : alexcrichton/rust/no-format-default, r=thestinger 2013-09-27 09:41:07 -07:00
clean.rs rustdoc: Render stability attributes 2013-09-26 13:39:06 -07:00
core.rs librustpkg: Fix diagnostic invocation syntax in librustdoc, librusti, and librustpkg. 2013-09-23 18:23:20 -07:00
doctree.rs rustdoc: Generate documentation for foreign items 2013-09-26 11:57:25 -07:00
fold.rs rustdoc: Out with the old, in with the new 2013-09-22 09:51:15 -07:00
passes.rs rustdoc: Strip implementations of private traits 2013-09-26 12:27:38 -07:00
plugins.rs rustdoc: Out with the old, in with the new 2013-09-22 09:51:15 -07:00
rustdoc.rs rustdoc: Fix merge fallout 2013-09-25 14:28:20 -07:00
visit_ast.rs rustdoc: Generate documentation for foreign items 2013-09-26 11:57:25 -07:00