]> git.lizzy.rs Git - rust.git/commit
Merge #5951 #5975
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 11 Sep 2020 13:47:33 +0000 (13:47 +0000)
committerGitHub <noreply@github.com>
Fri, 11 Sep 2020 13:47:33 +0000 (13:47 +0000)
commit96e988fcc3be11acc89dc2c1957bc14e8f39c911
treeb5bea2b98dd1b6fee1d1ffa06858ef6d6cbfadc2
parent87c8dfcadd42f3ca85a8f1cb22679266415a3596
parent4d97f5f037c1b061215d4b0fb32d48a1b8be836f
parent681ac6294ada917b8c5fbba60f9ba1c82da338aa
Merge #5951 #5975

5951: Rename record_field_pat to record_pat_field r=jonas-schievink a=pksunkara

The token was renamed but not this.

5975: Report better errors in project.json/sysroot r=jonas-schievink a=jonas-schievink

This does a bunch of light refactoring so that the `Sysroot` is loaded later, which makes sure that any errors are reported to the user. I then added a check that reports an error if libcore is missing in the loaded sysroot. Since a sysroot without libcore is very useless, this indicates a configuration error.

Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>