rust/src
bors d382fcdb82 Auto merge of #30314 - fhahn:issue-30299-missing-fields, r=pnkfelix
This PR for #30299 adds the name of the type where the field is missing.

The span that's used for the error seems correct. What may be confusing is when the initializer with the missing field contains other intializers. These are then included in the span. For example, consider the following listing.

    struct A {
        a1: i32,
        a2: B,
    }

    struct B {
        b1: i32,
        b2: i32
    }

    fn main() {
        let x = A {
            a2: B {
                b1: 1,
                b2: 1
            },
        };
    }

It will display the following code snippet along with the message that field `a2` is missing:

        let x = A {
            a2: B {
                b1: 1,
                b2: 1
            },
        };

By adding the name of the type it's clearer where the field is missing.
2015-12-13 07:56:03 +00:00
..
compiler-rt@b6087e82ba Update compiler-rt 2015-11-07 00:26:44 +08:00
compiletest std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
doc Auto merge of #30310 - mbrubeck:doc-vec-bounds, r=steveklabnik 2015-12-13 01:53:06 +00:00
driver Run rustfmt on driver. 2015-10-11 23:41:43 -07:00
error-index-generator Run rustfmt on error-index-generator. 2015-10-11 23:44:32 -07:00
etc Improve htmldocck.py error messages 2015-12-10 17:34:54 +01:00
grammar fix rustc-test 2015-11-26 19:19:54 +02:00
jemalloc@e24a1a025a
liballoc Auto merge of #30182 - alexcrichton:remove-deprecated, r=aturon 2015-12-10 19:54:15 +00:00
liballoc_jemalloc std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
liballoc_system std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
libarena Auto merge of #30015 - petrochenkov:staged, r=brson 2015-11-26 10:22:37 +00:00
libbacktrace Clean whitespace 2015-10-19 11:16:31 -04:00
libcollections Auto merge of #30308 - tsion:typo, r=sanxiyn 2015-12-11 09:56:51 +00:00
libcollectionstest std: Remove deprecated functionality from 1.5 2015-12-10 11:47:55 -08:00
libcore dec2flt: Remove unused macro argument 2015-12-12 00:10:15 +01:00
libcoretest std: Remove deprecated functionality from 1.5 2015-12-10 11:47:55 -08:00
libflate Auto merge of #30015 - petrochenkov:staged, r=brson 2015-11-26 10:22:37 +00:00
libfmt_macros Auto merge of #30015 - petrochenkov:staged, r=brson 2015-11-26 10:22:37 +00:00
libgetopts Change internal getopts so --a=b=c acts like --a b=c rather than --a b. 2015-12-04 22:02:09 +01:00
libgraphviz Auto merge of #30015 - petrochenkov:staged, r=brson 2015-11-26 10:22:37 +00:00
liblibc@867c6ff0b8 Better docs for the str primitive 2015-11-30 16:10:47 -05:00
liblog std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
librand std: Remove deprecated functionality from 1.5 2015-12-10 11:47:55 -08:00
librbml Auto merge of #30140 - michaelwoerister:tls-encoding, r=nikomatsakis 2015-12-09 15:10:37 +00:00
librustc Auto merge of #30242 - arielb1:region-unification, r=nikomatsakis 2015-12-12 06:18:44 +00:00
librustc_back std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
librustc_bitflags std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
librustc_borrowck Fix for issue #27889: same field names in enum variants 2015-12-11 14:45:07 +01:00
librustc_data_structures Add TupleSlice trait to rustc_data_structures. 2015-12-10 14:56:18 -05:00
librustc_driver Auto merge of #30145 - petrochenkov:hyg, r=nrc 2015-12-09 00:41:26 +00:00
librustc_front adjust documentation to mention intravisit instead of visit 2015-12-10 10:52:32 +01:00
librustc_lint Do MTWT resolution during lowering to HIR 2015-12-05 00:40:21 +03:00
librustc_llvm std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
librustc_metadata Make MIR encodable and store it in crate metadata. 2015-12-10 16:59:31 -05:00
librustc_mir MIR: Make Mir take ownership of InlineAsm values. 2015-12-10 16:39:17 -05:00
librustc_platform_intrinsics Remove all uses of #[staged_api] 2015-11-25 21:55:26 +03:00
librustc_plugin split the metadata code into rustc_metadata 2015-11-26 18:22:40 +02:00
librustc_privacy Remove all uses of #[staged_api] 2015-11-25 21:55:26 +03:00
librustc_resolve Partially undo the fix of issue #30159 in PR #30294 to avoid breakage. 2015-12-11 21:21:13 +00:00
librustc_trans Auto merge of #30110 - oli-obk:pretty_const_trans, r=pnkfelix 2015-12-12 14:35:43 +00:00
librustc_typeck Auto merge of #30314 - fhahn:issue-30299-missing-fields, r=pnkfelix 2015-12-13 07:56:03 +00:00
librustc_unicode Auto merge of #30182 - alexcrichton:remove-deprecated, r=aturon 2015-12-10 19:54:15 +00:00
librustdoc Auto merge of #30036 - mitaa:doc_id, r=alexcrichton 2015-12-08 20:15:53 +00:00
libserialize Remove all uses of #[staged_api] 2015-11-25 21:55:26 +03:00
libstd Auto merge of #30312 - seanmonstar:ioerror-description, r=alexcrichton 2015-12-12 12:47:03 +00:00
libsyntax Auto merge of #29995 - DanielJCampbell:Expanded-Span-Printing, r=nrc 2015-12-08 18:23:57 +00:00
libterm libterm: bring across changes from term 2015-12-03 19:27:59 +13:00
libtest std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
llvm@3564439515 Disable the null check elimination pass 2015-12-02 18:19:10 +01:00
rt Add test case for #28676. 2015-10-14 14:51:26 -06:00
rtstartup std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
rust-installer@c37d3747da
rustbook fixes #17017 (update padding:11px line 142 of rustbook.css) 2015-09-28 12:11:18 -05:00
rustllvm Disable the null check elimination pass 2015-12-02 18:19:10 +01:00
test Auto merge of #30314 - fhahn:issue-30299-missing-fields, r=pnkfelix 2015-12-13 07:56:03 +00:00
snapshots.txt adding openbsd snapshot 2015-09-04 15:01:06 -07:00