rust/src
Piotr Jawniak ff63866edb Change how the 0 flag works in format!
Now it always implies right-alignment, so that padding zeroes are placed after the sign (if any) and before the digits. In other words, it always takes precedence over explicitly specified `[[fill]align]`. This also affects the '#' flag: zeroes are placed after the prefix (0b, 0o, 0x) and before the digits.

           :05     :<05    :>05    :^05
before   |-0001| |-1000| |-0001| |-0100|
after    |-0001| |-0001| |-0001| |-0001|
          :#05x   :<#05x  :>#05x  :^#05x
before   |0x001| |0x100| |000x1| |0x010|
after    |0x001| |0x001| |0x001| |0x001|

Fixes #39997 [breaking-change]
2017-03-15 07:50:44 -07:00
..
bootstrap Auto merge of #40329 - petrochenkov:llreuse, r=alexcrichton 2017-03-13 15:31:51 +00:00
build_helper rustbuild: Assert directory creation succeeds 2017-03-07 15:24:36 -08:00
ci Default llvm.clean-rebuild to false 2017-03-12 14:02:49 +03:00
compiler-rt@d30da544a8 sanitizer support 2017-02-08 18:51:43 -05:00
doc Rollup merge of #40222 - steveklabnik:extract-nomicon, r=alexcrichton 2017-03-08 20:53:50 +02:00
driver
etc Vec, LinkedList, VecDeque, String, and Option NatVis visualizations 2017-02-15 01:51:19 -08:00
grammar Fix typo 2017-02-15 15:13:31 +03:00
jemalloc@11bfb0dcf8 Update jemalloc to include various fixes for OSX 10.12 2017-01-19 09:01:52 +09:00
liballoc Box docs: no allocation is done for ZSTs. 2017-03-08 21:53:28 -05:00
liballoc_jemalloc Automate timestamp creation and build skipping for native libraries 2017-03-04 21:38:26 +03:00
liballoc_system
libarena
libbacktrace libbacktrace: Fix uninitialized variable 2017-02-04 01:18:10 +03:00
libcollections Change how the 0 flag works in format! 2017-03-15 07:50:44 -07:00
libcollectionstest Implement placement-in protocol for and VecDeque 2017-03-09 22:46:20 +08:00
libcompiler_builtins Rollup merge of #40254 - nagisa:compiler-builtin-no-panic, r=alexcrichton 2017-03-08 20:53:53 +02:00
libcore Change how the 0 flag works in format! 2017-03-15 07:50:44 -07:00
libcoretest Improve fmt float 2017-02-07 20:58:34 +11:00
libflate Add/remove rerun-if-changed when necessary 2017-03-04 21:38:26 +03:00
libfmt_macros
libgetopts
libgraphviz
liblibc@64d954c6a7 Update name_bytes, scoop up latest libc 2017-02-22 09:28:02 -08:00
liblog
libpanic_abort
libpanic_unwind std: Remove cfg(cargobuild) annotations 2017-02-06 08:42:54 -08:00
libproc_macro Add doc attributes to proc_macro crate 2017-03-12 02:54:43 +00:00
libproc_macro_plugin Integrate TokenStream. 2017-03-03 02:15:37 +00:00
librand Remove specialization from Debug implementations 2017-01-20 13:10:36 +01:00
librustc Auto merge of #39921 - cramertj:add-catch-to-ast, r=nikomatsakis 2017-03-14 10:40:09 +00:00
librustc_asan sanitizer runtime crates shouldn't be tested 2017-03-05 14:25:47 -05:00
librustc_back add solaris sparcv9 support 2017-02-16 21:40:14 -08:00
librustc_bitflags
librustc_borrowck isolate dep-graph tasks 2017-03-10 08:15:13 -08:00
librustc_const_eval Fix ICE: don't use struct_variant on enums 2017-03-06 00:13:14 -03:00
librustc_const_math rustc_const_eval: always demand typeck_tables for evaluating constants. 2017-02-25 18:35:26 +02:00
librustc_data_structures Add extra methods to IndexVec and implement TypeFoldable for it 2017-03-10 02:55:39 +02:00
librustc_driver Improve wording in the -{W,A,F,D} options 2017-03-12 06:12:05 -04:00
librustc_errors Rollup merge of #40287 - estebank:label-overlap, r=nrc 2017-03-10 16:18:28 -08:00
librustc_incremental isolate dep-graph tasks 2017-03-10 08:15:13 -08:00
librustc_lint Point to enclosing block/fn on nested unsafe 2017-03-10 07:53:08 -08:00
librustc_llvm Add/remove rerun-if-changed when necessary 2017-03-04 21:38:26 +03:00
librustc_lsan sanitizer runtime crates shouldn't be tested 2017-03-05 14:25:47 -05:00
librustc_metadata Avoid using Mark and Invocation for macro defs. 2017-03-10 08:08:32 -08:00
librustc_mir Rollup merge of #40372 - nagisa:never-drop, r=eddyb 2017-03-11 21:57:45 +02:00
librustc_msan sanitizer runtime crates shouldn't be tested 2017-03-05 14:25:47 -05:00
librustc_passes Refactor out ast::ItemKind::MacroDef. 2017-03-10 08:08:32 -08:00
librustc_platform_intrinsics Auto merge of #38561 - nagisa:rdrandseed, r=alexcrichton 2017-02-14 01:26:10 +00:00
librustc_plugin Remove ability for plugins to register a MIR pass 2017-03-10 08:09:29 -08:00
librustc_privacy rustc: store type parameter defaults outside of ty::Generics. 2017-02-25 17:07:59 +02:00
librustc_resolve Rollup merge of #40369 - petrochenkov:segspan, r=eddyb 2017-03-12 12:48:46 -04:00
librustc_save_analysis Rollup merge of #40344 - nrc:save-container, r=eddyb 2017-03-11 21:57:43 +02:00
librustc_trans Auto merge of #40385 - arielb1:packed-again, r=eddyb 2017-03-13 09:57:38 +00:00
librustc_tsan sanitizer runtime crates shouldn't be tested 2017-03-05 14:25:47 -05:00
librustc_typeck Rollup merge of #40319 - eddyb:it's-"unsize"-not-"unsound", r=nikomatsakis 2017-03-11 21:57:42 +02:00
librustdoc Auto merge of #40451 - ollie27:rustdoc_impls_js_escape, r=GuillaumeGomez 2017-03-13 12:44:22 +00:00
libserialize Only SwitchInt over integers, not all consts 2017-02-10 19:42:41 +02:00
libstd Implement placement-in protocol for HashMap 2017-03-11 21:08:18 +08:00
libstd_unicode Remove std_unicode::str::is_utf16 2017-03-02 17:45:50 +01:00
libsyntax Auto merge of #39921 - cramertj:add-catch-to-ast, r=nikomatsakis 2017-03-14 10:40:09 +00:00
libsyntax_ext Rollup merge of #40369 - petrochenkov:segspan, r=eddyb 2017-03-12 12:48:46 -04:00
libsyntax_pos store typeck lints in the TypeckTables 2017-02-02 20:38:16 -05:00
libterm
libtest fix typo 2017-02-27 11:18:11 +08:00
libunwind Add/remove rerun-if-changed when necessary 2017-03-04 21:38:26 +03:00
llvm@859fb26936 LLVM: Update submodule to include SRet support patch for MSP430. 2017-03-10 08:10:21 -08:00
rt Set correct hoedown submodule branch 2017-02-03 11:08:20 +01:00
rtstartup
rust-installer@4f99485080
rustc test: Verify all sysroot crates are unstable 2017-02-21 11:38:17 -08:00
rustllvm rustbuild: Add option for enabling partial LLVM rebuilds 2017-03-12 14:02:49 +03:00
test Change how the 0 flag works in format! 2017-03-15 07:50:44 -07:00
tools Update mdbook to new version 2017-03-11 09:54:47 -05:00
Cargo.lock Update mdbook to new version 2017-03-11 09:54:47 -05:00
Cargo.toml Don't put Cargo into the rustc workspace 2017-03-10 14:49:19 -08:00
stage0.txt rustbuild: Use copies instead of hard links 2017-03-09 07:00:13 -08:00