-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 7 pull requests #48744
Rollup of 7 pull requests #48744
Commits on Mar 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e822e62 - Browse repository at this point
Copy the full SHA e822e62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19c4771 - Browse repository at this point
Copy the full SHA 19c4771View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c70619 - Browse repository at this point
Copy the full SHA 5c70619View commit details -
Configuration menu - View commit details
-
Copy full SHA for f45f760 - Browse repository at this point
Copy the full SHA f45f760View commit details
Commits on Mar 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 08504fb - Browse repository at this point
Copy the full SHA 08504fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15ecf06 - Browse repository at this point
Copy the full SHA 15ecf06View commit details
Commits on Mar 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for fc33b25 - Browse repository at this point
Copy the full SHA fc33b25View commit details
Commits on Mar 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 683bdc7 - Browse repository at this point
Copy the full SHA 683bdc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d58543 - Browse repository at this point
Copy the full SHA 3d58543View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b0e1b7 - Browse repository at this point
Copy the full SHA 0b0e1b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16ac85c - Browse repository at this point
Copy the full SHA 16ac85cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fdf637 - Browse repository at this point
Copy the full SHA 6fdf637View commit details -
rustc: Migrate to
termcolor
crate fromterm
This crate moves the compiler's error reporting to using the `termcolor` crate from crates.io. Previously rustc used a super-old version of the `term` crate in-tree which is basically unmaintained at this point, but Cargo has been using `termcolor` for some time now and tools like `rg` are using `termcolor` as well, so it seems like a good strategy to take! Note that the `term` crate remains in-tree for libtest. Changing libtest will be a bit tricky due to how the build works, but we can always tackle that later. cc rust-lang#45728
Configuration menu - View commit details
-
Copy full SHA for 72231a4 - Browse repository at this point
Copy the full SHA 72231a4View commit details -
Expand items before their
#[derive]
s.move test issue-32950 to run-pass cc rust-lang#38356
Configuration menu - View commit details
-
Copy full SHA for c6706ea - Browse repository at this point
Copy the full SHA c6706eaView commit details
Commits on Mar 5, 2018
-
Rollup merge of rust-lang#48432 - flip1995:lit_diag, r=oli-obk
Suggest type for overflowing bin/hex-literals Fixes rust-lang#48073 For hexadecimal and binary literals, which overflow, it gives an additional note to the warning message, like in this [comment](rust-lang#48073 (comment)). Additionally it will suggest a type (`X < Y`): - `iX`: if literal fits in `uX` => `uX`, else => `iY` - `-iX` => `iY` - `uX` => `uY` Exceptions: `isize`, `usize`. I don't think you can make a good suggestion here. The programmer has to figure it out on it's own in this case. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 09e45bd - Browse repository at this point
Copy the full SHA 09e45bdView commit details -
Rollup merge of rust-lang#48465 - abonander:expansion_order, r=petroc…
…henkov Expand items before their derives continuation of rust-lang#41029 At this point all I've done is naively rebased on top of `master` and fixed the code enough to compile. I'm not even sure if it works because my local build stopped here: ``` C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(317,5): error MSB3491: Could not write lines to file "emscripten -optimizer.dir\Release\emscript.63209ED8.tlog\emscripten-optimizer.lastbuildstate". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. [C:\Users\cyber\Rust\rust\build\x86_64-pc-windows-msvc\stage0-rustc\x86_64-pc-windows-msvc\release\bui ld\rustc_binaryen-aaf5e3b308543526\out\build\src\emscripten-optimizer\emscripten-optimizer.vcxproj] ``` So I'm going to be relying on Travis to run tests unless I can fix this error.
Configuration menu - View commit details
-
Copy full SHA for 397ed19 - Browse repository at this point
Copy the full SHA 397ed19View commit details -
Rollup merge of rust-lang#48588 - alexcrichton:termcolor, r=BurntSushi
rustc: Migrate to `termcolor` crate from `term` This crate moves the compiler's error reporting to using the `termcolor` crate from crates.io. Previously rustc used a super-old version of the `term` crate in-tree which is basically unmaintained at this point, but Cargo has been using `termcolor` for some time now and tools like `rg` are using `termcolor` as well, so it seems like a good strategy to take! Note that the `term` crate remains in-tree for libtest. Changing libtest will be a bit tricky due to how the build works, but we can always tackle that later. cc rust-lang#45728
Configuration menu - View commit details
-
Copy full SHA for c8f1f2e - Browse repository at this point
Copy the full SHA c8f1f2eView commit details -
Rollup merge of rust-lang#48651 - PramodBisht:issues/48425, r=oli-obk
Fixed rust-lang#48425 : Various functions taking a `TyCtxt` and a `Span` should be taking a `TyCtxtAt` Hi @oli-obk I have done some code refactoring to fix rust-lang#48425, Please let me know if anything else is required on this.
Configuration menu - View commit details
-
Copy full SHA for 4fcc87a - Browse repository at this point
Copy the full SHA 4fcc87aView commit details -
Rollup merge of rust-lang#48657 - sinkuu:opt_str_repeat, r=dtolnay
Optimize str::repeat Improves the performance of `str::repeat` by bulk copying. Here is the benchmarks of `"abcde".repeat(n)`: |`n`|old [ns/iter]|new [ns/iter]|diff [%]| ---|---|---|--- |1|27.205|27.421|+0.794| |2|27.500|27.516|+0.0581| |3|27.923|27.648|-0.985| |4|31.206|30.145|-3.40| |5|35.144|31.861|-9.34| |7|43.131|34.621|-19.7| |10|54.945|36.203|-34.1| |100|428.31|52.895|-87.7|
Configuration menu - View commit details
-
Copy full SHA for aff626a - Browse repository at this point
Copy the full SHA aff626aView commit details -
Rollup merge of rust-lang#48727 - leodasvacas:refactor-contrived-matc…
…h, r=rkruppe Refactor contrived match.
Configuration menu - View commit details
-
Copy full SHA for 6b4a9c1 - Browse repository at this point
Copy the full SHA 6b4a9c1View commit details -
Rollup merge of rust-lang#48732 - debris:remove_powerpc64, r=alexcric…
…hton Remove useless powerpc64 entry from ARCH_TABLE Hope, I understood the scope of the fix correctly. closes rust-lang#47737
Configuration menu - View commit details
-
Copy full SHA for 895ab22 - Browse repository at this point
Copy the full SHA 895ab22View commit details