rust/src/librustc
Mazdak Farrokhzad 7945dcdfdc
Rollup merge of #67011 - Aaron1011:fix/expected-found-span, r=Dylan-DPC
Include a span in more `expected...found` notes

In most places, we use a span when emitting `expected...found` errors.
However, there were a couple of places where we didn't use any span,
resulting in hard-to-interpret error messages.

This commit attaches the relevant span to these notes, and additionally
switches over to using `note_expected_found` instead of manually
formatting the message
2019-12-05 19:03:17 +01:00
..
benches make ./x.py bench again 2019-11-23 07:06:27 +01:00
dep_graph Move cgu_reuse_tracker to librustc_session 2019-12-03 12:18:32 -05:00
hir syntax: Use ast::MacArgs for macro definitions 2019-12-02 21:56:34 +03:00
ich introduce crate rustc_feature and move active, accepted, and removed to it 2019-11-30 00:25:40 +01:00
infer Include a span in more expected...found notes 2019-12-03 23:13:10 -05:00
lint Move early lint declarations to librustc_session 2019-12-03 12:19:14 -05:00
middle Move NativeLibraryKind to rustc_session 2019-12-03 12:19:16 -05:00
mir Auto merge of #65947 - eddyb:fn-abi, r=oli-obk,nagisa 2019-12-04 08:22:05 +00:00
query Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename all body_cache back to body 2019-12-02 08:40:56 -05:00
traits Rollup merge of #66651 - Areredify:on-unimplemented-scope, r=davidtwco 2019-12-03 11:07:01 +01:00
ty Rollup merge of #67010 - estebank:raw-idents, r=Centril 2019-12-05 19:03:15 +01:00
util Move duration_to_secs_str to rustc_session 2019-12-03 12:18:32 -05:00
arena.rs Simplify BodyCache impl and fix all remaining type errors in librustc_mir (lifetime errors still exist) 2019-12-02 08:35:08 -05:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Introduce rustc_session crate 2019-12-03 12:18:32 -05:00
lib.rs Move Session to librustc_session 2019-12-03 12:19:16 -05:00
macros.rs Retire impl_stable_hash_for. 2019-11-22 20:01:48 +01:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
tests.rs librustc: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00

For more information about how rustc works, see the rustc guide.