rust/src/librustdoc
Jakub Bukaj f71b852d38 rollup merge of #19103: huonw/literal-suffixes
Futureproof Rust for fancier suffixed literals. The Rust compiler tokenises a literal followed immediately (no whitespace) by an identifier as a single token: (for example) the text sequences `"foo"bar`, `1baz` and `1u1024` are now a single token rather than the pairs `"foo"` `bar`, `1` `baz` and `1u` `1024` respectively.

The compiler rejects all such suffixes in the parser, except for the 12 numeric suffixes we have now.

I'm fairly sure this will affect very few programs, since it's not currently legal to have `<literal><identifier>` in a Rust program, except in a macro invocation. Any macro invocation relying on this behaviour can simply separate the two tokens with whitespace: `foo!("bar"baz)` becomes `foo!("bar" baz)`.

This implements [RFC 463](https://github.com/rust-lang/rfcs/blob/master/text/0463-future-proof-literal-suffixes.md), and so closes https://github.com/rust-lang/rust/issues/19088.
2014-11-19 22:41:05 +01:00
..
clean rustdoc: fix fallout of ty::t -> Ty<'tcx>. 2014-11-19 06:24:35 +02:00
html rollup merge of #19103: huonw/literal-suffixes 2014-11-19 22:41:05 +01:00
core.rs Move trans, back, driver, and back into a new crate, rustc_trans. Reduces memory usage significantly and opens opportunities for more parallel compilation. 2014-11-18 07:32:43 -05:00
doctree.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
externalfiles.rs Deal with the fallout of string stabilization 2014-09-23 18:31:52 -07:00
flock.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
fold.rs Renamed Extendable to Extend 2014-11-08 15:02:09 +01:00
lib.rs std: Stabilize std::fmt 2014-11-18 21:16:22 -08:00
markdown.rs Changed addl_lib_search_paths from HashSet to Vec 2014-09-07 11:42:02 +02:00
passes.rs rustdoc: hide private traits in strip-private pass 2014-10-21 08:49:43 -07:00
plugins.rs Fix rustdoc 2014-09-30 12:52:47 -07:00
stability_summary.rs Fix warnings 2014-11-16 10:40:34 +01:00
test.rs Move trans, back, driver, and back into a new crate, rustc_trans. Reduces memory usage significantly and opens opportunities for more parallel compilation. 2014-11-18 07:32:43 -05:00
visit_ast.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00