rust/src
Esteban Küber b7bb67abd3 Use spans for -Z external-macro-backtrace
```
% rustc ui/type-check/cannot_infer_local_or_vec.rs -Z external-macro-backtrace
error[E0282]: type annotations needed
  --> <vec macros>:3:1
   |
1  | / ( $ elem : expr ; $ n : expr ) => (
2  | | $ crate :: vec :: from_elem ( $ elem , $ n ) ) ; ( $ ( $ x : expr ) , * ) => (
3  | | < [ _ ] > :: into_vec ( box [ $ ( $ x ) , * ] ) ) ; ( $ ( $ x : expr , ) * )
   | | ^^^^^^^^^^^^^^^^^^^^^
   | | |
   | | cannot infer type for `T`
4  | | => ( vec ! [ $ ( $ x ) , * ] )
   | |______________________________- in this expansion of `vec!`
   |
  ::: ui/type-check/cannot_infer_local_or_vec.rs
   |
12 |       let x = vec![];
   |           -   ------ in this macro invocation
   |           |
   |           consider giving `x` a type

error: aborting due to previous error
```
2017-12-09 12:43:46 -08:00
..
binaryen@1c9bf65aa0
bootstrap template month/year, version into man pages while building dist tarball 2017-12-04 23:47:59 -08:00
build_helper build_helper: destination file can't be up to date when not exists 2017-12-01 14:55:02 +05:00
ci Add armv5te-unknown-linux-gnueabi to cross builder 2017-12-05 07:46:24 -02:00
dlmalloc@d3812c3acc
doc
etc
grammar
jemalloc@1f5a28755e
liballoc Rollup merge of #46378 - udoprog:benches-rand, r=kennytm 2017-12-06 09:35:36 -05:00
liballoc_jemalloc *: strip calls to cc::Build::compile 2017-11-28 18:15:30 -05:00
liballoc_system Remove comment about a branch being optimized out, fix #45831 2017-11-20 16:22:17 +01:00
libarena stabilized needs_drop (fixes #41890) 2017-09-16 23:41:04 +02:00
libbacktrace fix some typos 2017-11-21 15:33:45 +01:00
libcompiler_builtins@18feaccbfd
libcore Rollup merge of #46548 - jonathanstrong:master, r=dtolnay 2017-12-07 23:59:04 +01:00
libfmt_macros Retain information on whether a format argument has explicit position 2017-11-09 20:57:58 +00:00
libgetopts address some FIXMEs whose associated issues were marked as closed 2017-09-30 11:33:47 +03:00
libgraphviz
liblibc@1a2f9639f8
libpanic_abort std: Add a new wasm32-unknown-unknown target 2017-11-19 21:07:41 -08:00
libpanic_unwind std: Add a new wasm32-unknown-unknown target 2017-11-19 21:07:41 -08:00
libproc_macro
libprofiler_builtins *: strip calls to cc::Build::compile 2017-11-28 18:15:30 -05:00
librustc incr.comp.: Fix merge fallout. 2017-12-08 10:17:17 +01:00
librustc_allocator
librustc_apfloat Stabilize const-calling existing const-fns in std 2017-11-26 23:43:44 +01:00
librustc_asan Bump master to 1.21.0 2017-07-25 07:03:19 -07:00
librustc_back Auto merge of #46305 - irinagpopa:backstory, r=alexcrichton,eddyb 2017-12-05 00:21:59 +00:00
librustc_binaryen
librustc_borrowck rustc_back: remove slice module in favor of std::slice::from_ref. 2017-12-04 18:25:06 +02:00
librustc_const_eval
librustc_const_math
librustc_cratesio_shim
librustc_data_structures
librustc_driver
librustc_errors Use spans for -Z external-macro-backtrace 2017-12-09 12:43:46 -08:00
librustc_incremental
librustc_lint convert the new conflicts to a soft error 2017-12-05 15:42:33 +02:00
librustc_llvm
librustc_lsan Bump master to 1.21.0 2017-07-25 07:03:19 -07:00
librustc_metadata incr.comp.: Make Span decoding more consistent so it doesn't mess up -Zincremental-verify-ich 2017-12-08 10:02:26 +01:00
librustc_mir
librustc_msan
librustc_passes remove unnecessary change 2017-12-07 04:01:59 -05:00
librustc_platform_intrinsics Auto merge of #44885 - lu-zero:master, r=alexcrichton 2017-10-02 17:18:20 +00:00
librustc_plugin rustc_back: move dynamic_lib to rustc_metadata. 2017-12-04 18:25:29 +02:00
librustc_privacy
librustc_resolve
librustc_save_analysis Implement RFC 2128 (use_nested_groups) 2017-11-30 13:10:26 +01:00
librustc_trans Auto merge of #46563 - michaelwoerister:make-anon-globals-private, r=alexcrichton 2017-12-08 18:46:24 +00:00
librustc_trans_utils make fn_sig().subst() ICE when used with a closure 2017-12-07 05:28:01 -05:00
librustc_tsan Move unused-extern-crate to late pass 2017-08-27 19:02:24 +09:00
librustc_typeck
librustdoc Auto merge of #46247 - GuillaumeGomez:md-warnings, r=QuietMisdreqvus 2017-12-08 14:10:07 +00:00
libserialize incr.comp.: Load diagnostics from previous session lazily and clean up on-disk-cache persistence code. 2017-12-01 13:48:59 +01:00
libstd Auto merge of #45837 - SimonSapin:file_read_write, r=dtolnay 2017-12-08 21:33:50 +00:00
libstd_unicode
libsyntax
libsyntax_ext Auto merge of #45997 - estebank:pub-ident, r=nikomatsakis 2017-12-01 06:06:06 +00:00
libsyntax_pos Auto merge of #46497 - AgustinCB:issue-46311, r=petrochenkov 2017-12-07 21:05:49 +00:00
libterm
libtest
libunwind
llvm@6d08185a5c
rt Remove the in-tree flate crate 2017-06-20 07:11:29 -07:00
rtstartup
rustc std: Add a new wasm32-unknown-unknown target 2017-11-19 21:07:41 -08:00
rustllvm rustc: Further tweak linkage in ThinLTO 2017-12-07 06:53:49 -08:00
test Use spans for -Z external-macro-backtrace 2017-12-09 12:43:46 -08:00
tools Auto merge of #46532 - est31:master, r=est31 2017-12-07 18:13:10 +00:00
Cargo.lock Update Cargo 2017-12-06 18:21:14 +13:00
Cargo.toml Update RLS and Rustfmt 2017-11-29 19:15:46 +13:00
stage0.txt Update bootstrap compiler 2017-11-29 21:11:20 -08:00