-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
[beta] Attempt to fix the component manifest problem for rls-preview #44352
Commits on Aug 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 3971a3d - Browse repository at this point
Copy the full SHA 3971a3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84af3d8 - Browse repository at this point
Copy the full SHA 84af3d8View commit details
Commits on Aug 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for fa18aa3 - Browse repository at this point
Copy the full SHA fa18aa3View commit details -
Merge branch 'master' of https://github.com/rust-lang/rust into gen
# Conflicts: # src/librustc_mir/build/scope.rs
Configuration menu - View commit details
-
Copy full SHA for d020ff0 - Browse repository at this point
Copy the full SHA d020ff0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1787d4e - Browse repository at this point
Copy the full SHA 1787d4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eab1ca - Browse repository at this point
Copy the full SHA 6eab1caView commit details
Commits on Aug 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for eff2884 - Browse repository at this point
Copy the full SHA eff2884View commit details -
Configuration menu - View commit details
-
Copy full SHA for b045c20 - Browse repository at this point
Copy the full SHA b045c20View commit details
Commits on Aug 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1413253 - Browse repository at this point
Copy the full SHA 1413253View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22ebcac - Browse repository at this point
Copy the full SHA 22ebcacView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6b9690 - Browse repository at this point
Copy the full SHA b6b9690View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17197c6 - Browse repository at this point
Copy the full SHA 17197c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1766992 - Browse repository at this point
Copy the full SHA 1766992View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49fca85 - Browse repository at this point
Copy the full SHA 49fca85View commit details -
Configuration menu - View commit details
-
Copy full SHA for f467776 - Browse repository at this point
Copy the full SHA f467776View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9e4bdb - Browse repository at this point
Copy the full SHA b9e4bdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93a9183 - Browse repository at this point
Copy the full SHA 93a9183View commit details
Commits on Aug 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c3b27d5 - Browse repository at this point
Copy the full SHA c3b27d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1210ebf - Browse repository at this point
Copy the full SHA 1210ebfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0697e4b - Browse repository at this point
Copy the full SHA 0697e4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f4a99f - Browse repository at this point
Copy the full SHA 5f4a99fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63477fd - Browse repository at this point
Copy the full SHA 63477fdView commit details
Commits on Aug 17, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e83c808 - Browse repository at this point
Copy the full SHA e83c808View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e472c2 - Browse repository at this point
Copy the full SHA 5e472c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdb7901 - Browse repository at this point
Copy the full SHA bdb7901View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b5f330 - Browse repository at this point
Copy the full SHA 4b5f330View commit details -
Configuration menu - View commit details
-
Copy full SHA for a47038f - Browse repository at this point
Copy the full SHA a47038fView commit details
Commits on Aug 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9620d26 - Browse repository at this point
Copy the full SHA 9620d26View commit details -
Configuration menu - View commit details
-
Copy full SHA for e70cc27 - Browse repository at this point
Copy the full SHA e70cc27View commit details
Commits on Aug 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for bf3ebcc - Browse repository at this point
Copy the full SHA bf3ebccView commit details
Commits on Aug 21, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1dc3a2b - Browse repository at this point
Copy the full SHA 1dc3a2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b31998e - Browse repository at this point
Copy the full SHA b31998eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35b8dba - Browse repository at this point
Copy the full SHA 35b8dbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dc9d71 - Browse repository at this point
Copy the full SHA 5dc9d71View commit details
Commits on Aug 22, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 04c66c3 - Browse repository at this point
Copy the full SHA 04c66c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c74ff32 - Browse repository at this point
Copy the full SHA c74ff32View commit details -
Configuration menu - View commit details
-
Copy full SHA for be96ad2 - Browse repository at this point
Copy the full SHA be96ad2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0314e10 - Browse repository at this point
Copy the full SHA 0314e10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2920658 - Browse repository at this point
Copy the full SHA 2920658View commit details
Commits on Aug 23, 2017
-
Add reset_err_count() to errors::Handler
The motivation here is to allow rustfmt to recover from parse errors after failing to parse macros.
Configuration menu - View commit details
-
Copy full SHA for 601e3da - Browse repository at this point
Copy the full SHA 601e3daView commit details
Commits on Aug 24, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 20f1e68 - Browse repository at this point
Copy the full SHA 20f1e68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0727ade - Browse repository at this point
Copy the full SHA 0727adeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b44e51c - Browse repository at this point
Copy the full SHA b44e51cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cd4cac - Browse repository at this point
Copy the full SHA 8cd4cacView commit details
Commits on Aug 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c872f47 - Browse repository at this point
Copy the full SHA c872f47View commit details -
Configuration menu - View commit details
-
Copy full SHA for b28aeeb - Browse repository at this point
Copy the full SHA b28aeebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 303a264 - Browse repository at this point
Copy the full SHA 303a264View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c97ffa - Browse repository at this point
Copy the full SHA 8c97ffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74b93f3 - Browse repository at this point
Copy the full SHA 74b93f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed5bc60 - Browse repository at this point
Copy the full SHA ed5bc60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1917ffe - Browse repository at this point
Copy the full SHA 1917ffeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4c5471 - Browse repository at this point
Copy the full SHA b4c5471View commit details -
Configuration menu - View commit details
-
Copy full SHA for c711531 - Browse repository at this point
Copy the full SHA c711531View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5366135 - Browse repository at this point
Copy the full SHA 5366135View commit details -
rustc: Fix proc_macro expansions on trait methods
This commit fixes procedural macro attributes being attached to trait methods, ensuring that they get resolved and expanded as other procedural macro attributes. The bug here was that `current_module` on the resolver was accidentally set to be a trait when it's otherwise only ever expecting a `mod`/block module. The actual fix here came from @jseyfried, I'm just helping to land it in the compiler! Closes rust-lang#42493
Configuration menu - View commit details
-
Copy full SHA for ce322ee - Browse repository at this point
Copy the full SHA ce322eeView commit details
Commits on Aug 26, 2017
-
Do not include the src/Cargo.toml
distcheck complains that this file references projects not cotnained in the tarball
Configuration menu - View commit details
-
Copy full SHA for bd24325 - Browse repository at this point
Copy the full SHA bd24325View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c3c43c - Browse repository at this point
Copy the full SHA 0c3c43cView commit details
Commits on Aug 27, 2017
-
Clarify that VecDeque::swap can panic
The previous documentation mentioned this, but ambiguously used the term "fail". This clarifies that the function will panic if the index is out of bounds, instead of silently failing and not doing anything.
Configuration menu - View commit details
-
Copy full SHA for f1b91f4 - Browse repository at this point
Copy the full SHA f1b91f4View commit details -
clear out projection subobligations after they are processed
After a projection was processed, its derived subobligations no longer need any processing when encountered, and can be removed. This improves the status of rust-lang#43787. This is actually complementary to rust-lang#43938 - that PR fixes selection caching (and @remram44's example, which "accidentally" worked because of the buggy projection caching) while this PR fixes projection caching
Configuration menu - View commit details
-
Copy full SHA for 7534f73 - Browse repository at this point
Copy the full SHA 7534f73View commit details -
Fail ./x.py on invalid command
Make the ./x.py script fail when run with an invalid command, like: ./x.py nonsense This helps in case of chaining multiple runs, eg.: ./x.py biuld && ./x.py test
Configuration menu - View commit details
-
Copy full SHA for 6fc35de - Browse repository at this point
Copy the full SHA 6fc35deView commit details
Commits on Aug 28, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7c5780b - Browse repository at this point
Copy the full SHA 7c5780bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d29af37 - Browse repository at this point
Copy the full SHA d29af37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a9e32b - Browse repository at this point
Copy the full SHA 8a9e32bView commit details -
rustbuild: Rewrite the configure script in Python
This commit rewrites our ancient `./configure` script from shell into Python. The impetus for this change is to remove `config.mk` which is just a vestige of the old makefile build system at this point. Instead all configuration is now solely done through `config.toml`. The python script allows us to more flexibly program (aka we can use loops easily) and create a `config.toml` which is based off `config.toml.example`. This way we can preserve comments and munge various values as we see fit. It is intended that the configure script here is a drop-in replacement for the previous configure script, no functional change is intended. Also note that the rationale for this is also because our build system requires Python, so having a python script a bit earlier shouldn't cause too many problems. Closes rust-lang#40730
Configuration menu - View commit details
-
Copy full SHA for a9b0a7b - Browse repository at this point
Copy the full SHA a9b0a7bView commit details -
bootstrap: remove unneeded extern crate
The crate itself is internally referenced by serde_derive.
Configuration menu - View commit details
-
Copy full SHA for 45d31ac - Browse repository at this point
Copy the full SHA 45d31acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eff522 - Browse repository at this point
Copy the full SHA 9eff522View commit details -
Auto merge of rust-lang#44107 - alexcrichton:no-shell-configure, r=Ma…
…rk-Simulacrum rustbuild: Rewrite the configure script in Python This commit rewrites our ancient `./configure` script from shell into Python. The impetus for this change is to remove `config.mk` which is just a vestige of the old makefile build system at this point. Instead all configuration is now solely done through `config.toml`. The python script allows us to more flexibly program (aka we can use loops easily) and create a `config.toml` which is based off `config.toml.example`. This way we can preserve comments and munge various values as we see fit. It is intended that the configure script here is a drop-in replacement for the previous configure script, no functional change is intended. Also note that the rationale for this is also because our build system requires Python, so having a python script a bit earlier shouldn't cause too many problems. Closes rust-lang#40730 Closes rust-lang#43295 Closes rust-lang#42255 Closes rust-lang#38058 Closes rust-lang#32176
Configuration menu - View commit details
-
Copy full SHA for a0c3bd2 - Browse repository at this point
Copy the full SHA a0c3bd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8c05fe - Browse repository at this point
Copy the full SHA b8c05feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b61771 - Browse repository at this point
Copy the full SHA 9b61771View commit details -
Configuration menu - View commit details
-
Copy full SHA for c76a024 - Browse repository at this point
Copy the full SHA c76a024View commit details -
Configuration menu - View commit details
-
Copy full SHA for 876278f - Browse repository at this point
Copy the full SHA 876278fView commit details -
feature error span on attr. for fn_must_use, SIMD/align, macro reëxport
There were several feature-gated attributes for which the feature-not-available error spans would point to the item annotated with the gated attribute, when it would make more sense for the span to point to the attribute itself: if the attribute is removed, the function/struct/&c. likely still makes sense and the program will compile. (Note that we decline to make the analogous change for the `main`, `start`, and `plugin_registrar` features, for in those cases it makes sense for the span to implicate the entire function, of which there is little hope of using without the gated attribute.)
Configuration menu - View commit details
-
Copy full SHA for 8bb2946 - Browse repository at this point
Copy the full SHA 8bb2946View commit details -
Initial diagnostic API for proc-macros.
This commit introduces the ability to create and emit `Diagnostic` structures from proc-macros, allowing for proc-macro authors to emit warning, error, note, and help messages just like the compiler does.
Configuration menu - View commit details
-
Copy full SHA for 8be132e - Browse repository at this point
Copy the full SHA 8be132eView commit details -
Auto merge of rust-lang#44114 - daboross:patch-1, r=dtolnay
Clarify that VecDeque::swap can panic The previous documentation mentioned this, but ambiguously used the term "fail". This clarifies that the function will panic if the index is out of bounds, instead of silently failing and not doing anything. If there's anything else I can do to improve this PR, I'd be happy to do so! Just saw this when reading through the docs in passing - it was slightly unclear what "fail" meant.
Configuration menu - View commit details
-
Copy full SHA for 5caca6f - Browse repository at this point
Copy the full SHA 5caca6fView commit details -
compiletest: Change Config comments to doc comments
Thomas Jespersen committedAug 28, 2017 Configuration menu - View commit details
-
Copy full SHA for 2bffa31 - Browse repository at this point
Copy the full SHA 2bffa31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b72497 - Browse repository at this point
Copy the full SHA 0b72497View commit details -
Rewrite
std::net::ToSocketAddrs
doc examples.in particular: * show how to create an iterator that yields multiple socket addresses * show more failing scenarios
Configuration menu - View commit details
-
Copy full SHA for 10bd39e - Browse repository at this point
Copy the full SHA 10bd39eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a996d5e - Browse repository at this point
Copy the full SHA a996d5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f19383 - Browse repository at this point
Copy the full SHA 2f19383View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5b123c - Browse repository at this point
Copy the full SHA e5b123cView commit details -
std: Mark allocation functions as nounwind
This commit flags all allocation-related functions in liballoc as "this can't unwind" which should largely resolve the size-related issues found on rust-lang#42808. The documentation on the trait was updated with such a restriction (they can't panic) as well as some other words about the relative instability about implementing a bullet-proof allocator. Closes rust-lang#42808
Configuration menu - View commit details
-
Copy full SHA for b6f554b - Browse repository at this point
Copy the full SHA b6f554bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb30dd7 - Browse repository at this point
Copy the full SHA fb30dd7View commit details -
Auto merge of rust-lang#43076 - Zoxc:gen, r=arielb1
Generator support This adds experimental support for generators intended to land once rust-lang/rfcs#2033 is approved. This is not yet ready to be merged. Things to do: - [x] Make closure arguments on generators an error - [x] Spot FIXMEs - [x] Pass make tidy - [x] Write tests - [x] Document the current syntax and semantics for generators somewhere - [x] Use proper error message numbers - [x] ~~Make the implicit argument type default to `()`~~
Configuration menu - View commit details
-
Copy full SHA for 9a59d69 - Browse repository at this point
Copy the full SHA 9a59d69View commit details -
Configuration menu - View commit details
-
Copy full SHA for f50bf86 - Browse repository at this point
Copy the full SHA f50bf86View commit details -
Auto merge of rust-lang#43999 - arielb1:immediate-project, r=nikomats…
…akis clear out projection subobligations after they are processed After a projection was processed, its derived subobligations no longer need any processing when encountered, and can be removed. This improves the status of rust-lang#43787. This is actually complementary to rust-lang#43938 - that PR fixes selection caching (and @remram44's example, which "accidentally" worked because of the buggy projection caching) while this PR fixes projection caching. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for bef07b8 - Browse repository at this point
Copy the full SHA bef07b8View commit details
Commits on Aug 29, 2017
-
Auto merge of rust-lang#44049 - alexcrichton:nounwind-allocators, r=B…
…urntSushi std: Mark allocation functions as nounwind This commit flags all allocation-related functions in liballoc as "this can't unwind" which should largely resolve the size-related issues found on rust-lang#42808. The documentation on the trait was updated with such a restriction (they can't panic) as well as some other words about the relative instability about implementing a bullet-proof allocator. Closes rust-lang#42808
Configuration menu - View commit details
-
Copy full SHA for d2d5069 - Browse repository at this point
Copy the full SHA d2d5069View commit details -
Configuration menu - View commit details
-
Copy full SHA for d66f0c2 - Browse repository at this point
Copy the full SHA d66f0c2View commit details -
rustbuild: Fix uplifting stage1 on cross builds
When we pass `--host` the `self.hosts` array doesn't contain `self.build`, so check `self.build` to see if we can uplift.
Configuration menu - View commit details
-
Copy full SHA for 7007a44 - Browse repository at this point
Copy the full SHA 7007a44View commit details -
rustbuild: Fix dependencies of build-manifest
No need to depend on librustc! All we need is libstd Closes rust-lang#44140
Configuration menu - View commit details
-
Copy full SHA for ecd127d - Browse repository at this point
Copy the full SHA ecd127dView commit details -
use an optional bool to keep track of ignore-git setting, if not spec…
…ified by the end, use the channel to determine its value
Configuration menu - View commit details
-
Copy full SHA for 5009a22 - Browse repository at this point
Copy the full SHA 5009a22View commit details -
Auto merge of rust-lang#44059 - oli-obk:ok_suggestion, r=nikomatsakis
Suggest `Ok(())` when encountering `Result::<(), E>::Ok()`
Configuration menu - View commit details
-
Copy full SHA for 6f82dea - Browse repository at this point
Copy the full SHA 6f82deaView commit details -
Auto merge of rust-lang#44111 - zackmdavis:feature_attr_error_span, r…
…=nikomatsakis feature error span on attribute for fn_must_use, SIMD/align reprs, macro reëxport There were several feature-gated attributes for which the feature-not-available error spans would point to the item annotated with the gated attribute, when it would make more sense for the span to point to the attribute itself: if the attribute is removed, the function/struct/_&c._ likely still makes sense and the program will compile. (Note that we decline to make the analogous change for the `main`, `start`, and `plugin_registrar` features, for in those cases it makes sense for the span to implicate the entire function, of which there is little hope of using without the gated attribute.) ![feature_attr_error_span](https://user-images.githubusercontent.com/1076988/29746531-fd700bfe-8a91-11e7-9c5b-6f5324083887.png)
Configuration menu - View commit details
-
Copy full SHA for faf477a - Browse repository at this point
Copy the full SHA faf477aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fceab9f - Browse repository at this point
Copy the full SHA fceab9fView commit details -
Track closure signatures & kinds in freshened types
This allows caching closure signatures and kinds in the normal selection and evaluation caches, and fixes the exponential worst-case in @remram44's example, which is a part of rust-lang#43787. This improvement is complenentary to rust-lang#43999 - they fix different cases.
Configuration menu - View commit details
-
Copy full SHA for 75d6820 - Browse repository at this point
Copy the full SHA 75d6820View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9be155d - Browse repository at this point
Copy the full SHA 9be155dView commit details -
Fix alloc_jemalloc debug feature
At least, I think that's how it should be. 'debug' is how the feature is called in Cargo.toml.
Configuration menu - View commit details
-
Copy full SHA for 7d9e26f - Browse repository at this point
Copy the full SHA 7d9e26fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16fc74c - Browse repository at this point
Copy the full SHA 16fc74cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68aab69 - Browse repository at this point
Copy the full SHA 68aab69View commit details -
rustc: Remove
specailization_cache
in favor of a queryThis commit removes the `specialization_cache` field of `TyCtxt` by moving it to a dedicated query, which it turned out was already quite easily structured to do so!
Configuration menu - View commit details
-
Copy full SHA for 27c4ff6 - Browse repository at this point
Copy the full SHA 27c4ff6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d24ee23 - Browse repository at this point
Copy the full SHA d24ee23View commit details -
remove the data from ClosureCandidate
the data serves no purpose - it can be recovered from the obligation - and I think may leak stale inference variables into global caches.
Configuration menu - View commit details
-
Copy full SHA for 6c11b47 - Browse repository at this point
Copy the full SHA 6c11b47View commit details -
Configuration menu - View commit details
-
Copy full SHA for de0e695 - Browse repository at this point
Copy the full SHA de0e695View commit details -
resolve type vars with obligations in more places
This fixes a few cases of inference misses, some of them regressions caused by the impl selected for a method not being immediately evaluated.
Configuration menu - View commit details
-
Copy full SHA for 15f6540 - Browse repository at this point
Copy the full SHA 15f6540View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4312ed7 - Browse repository at this point
Copy the full SHA 4312ed7View commit details -
rustbuild: Don't require cross-compiled error index
All architectures use the same errors, no need to cross-compile a version only to not look at it.
Configuration menu - View commit details
-
Copy full SHA for 1d70b66 - Browse repository at this point
Copy the full SHA 1d70b66View commit details -
API docs: macros. Part of rust-lang#29329 Standard Library Documentat…
…ion Checklist.
Configuration menu - View commit details
-
Copy full SHA for b9b6549 - Browse repository at this point
Copy the full SHA b9b6549View commit details -
Auto merge of rust-lang#43648 - RalfJung:jemalloc-debug, r=alexcrichton
Fix alloc_jemalloc debug feature At least, I think that's how it should be. 'debug' is how the feature is called in liballoc_jemalloc/Cargo.toml and libstd/Cargo.toml. I verified this by making the build script panic rather than adding `--enable-debug`, and without this PR, the panic does not occur even when I set `debug-jemalloc = true` in config.toml. With the PR, the panic occurs as expected. However, I actually have no idea what I am doing here.
Configuration menu - View commit details
-
Copy full SHA for 630e02f - Browse repository at this point
Copy the full SHA 630e02fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84c5441 - Browse repository at this point
Copy the full SHA 84c5441View commit details -
Rollup merge of rust-lang#43705 - panicbit:option_ref_mut_cloned, r=a…
…turon libcore: Implement cloned() for Option<&mut T> None
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for 11e75fd - Browse repository at this point
Copy the full SHA 11e75fdView commit details -
Rollup merge of rust-lang#43778 - topecongiro:handler-reset-err-count…
…, r=arielb1 Add reset_err_count() to errors::Handler The motivation here is to allow rustfmt to recover from parse errors after failing to parse macros (cc rust-lang/rustfmt#1742). r? @nrc
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for 64a21f8 - Browse repository at this point
Copy the full SHA 64a21f8View commit details -
Rollup merge of rust-lang#43918 - mystor:rustdoc-pound, r=QuietMisdre…
…avus Don't highlight # which does not start an attribute in rustdoc Currently when we highlight some macros for rustdoc (e.g. `quote!` from https://github.com/dtolnay/quote), we get really bad syntax highlighting, because we assume that every token between a `#` character and the next `]` in the source must be an attribute. This patch improves that highlighting behavior to instead only highlight after finding the `[` token after the `#` token. (NOTE: I've only run this patch against https://github.com/nrc/rustdoc-highlight so if it doesn't build on travis that's why - I don't have a recent rustc build on this laptop) I'm guessing r? @steveklabnik
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for b1fff23 - Browse repository at this point
Copy the full SHA b1fff23View commit details -
Rollup merge of rust-lang#44076 - RalfJung:src, r=alexcrichton
include Cargo.{toml,lock} in rust-src tarball The lock file is interesting because e.g. xargo could use it to build libstd against the same dependencies that were used for the main build. More generally speaking, just documenting in this form which exact dependencies should be used IMHO makes lots of sense. I added the Cargo.toml mostly because having the lock without the toml feels odd. Of course, the toml contains references to paths that don't actually exist in the rust-src tarball. Not sure if that is considered a problem.
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for ba304b9 - Browse repository at this point
Copy the full SHA ba304b9View commit details -
Rollup merge of rust-lang#44117 - frewsxcv:frewsxcv-to-socket-addrs-e…
…xamples, r=QuietMisdreavus Rewrite `std::net::ToSocketAddrs` doc examples. in particular: * show how to create an iterator that yields multiple socket addresses * show more failing scenarios done this as preliminary work while investigating rust-lang#22569 note: i haven't run doc tests on my machine for this, so would be good to confirm CI passes before approving
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for 30907e1 - Browse repository at this point
Copy the full SHA 30907e1View commit details -
Rollup merge of rust-lang#44121 - ishitatsuyuki:bootstrap-deps-purge,…
… r=Mark-Simulacrum bootstrap: remove unneeded extern crate The crate itself is internally referenced by serde_derive.
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for ec83eda - Browse repository at this point
Copy the full SHA ec83edaView commit details -
Rollup merge of rust-lang#44126 - laumann:config-doc-comments, r=niko…
…matsakis compiletest: Change Config comments to doc comments I plan to make the same change in compiletest-rs, to have some documentation in [the docs](https://docs.rs/compiletest_rs/0.2.9/compiletest_rs/common/struct.Config.html).
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for 29f360b - Browse repository at this point
Copy the full SHA 29f360bView commit details -
Rollup merge of rust-lang#44134 - vorner:x-py-unknown-cmd, r=nikomats…
…akis Fail ./x.py on invalid command Make the ./x.py script fail when run with an invalid command, like: ``` ./x.py nonsense ``` This helps in case of chaining multiple runs, eg.: ``` ./x.py biuld && ./x.py test ```
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for d59aa7d - Browse repository at this point
Copy the full SHA d59aa7dView commit details -
Rollup merge of rust-lang#44135 - GuillaumeGomez:fix-css-links, r=Qui…
…etMisdreavus Fix invalid linker position Fixes rust-lang#44120. Result isn't "optimal" though because there are spaces at the end of some lines.
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for 588f833 - Browse repository at this point
Copy the full SHA 588f833View commit details -
Rollup merge of rust-lang#44141 - nrc:rls-preview-beta, r=alexcrichton
Rename the rls component to rls-preview on beta/stable Background is that we will have automatic renaming with the next rustup release. We'll then rename rls to rls-preview. In the meantime, this ensures beta/stable users will always have rls-preview. r? @alexcrichton
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for 294ce22 - Browse repository at this point
Copy the full SHA 294ce22View commit details -
Rollup merge of rust-lang#44144 - alexcrichton:faster-hash-and-sign, …
…r=Mark-Simulacrum rustbuild: Fix dependencies of build-manifest No need to depend on librustc! All we need is libstd Closes rust-lang#44140
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for a88757e - Browse repository at this point
Copy the full SHA a88757eView commit details -
Rollup merge of rust-lang#44158 - dtolnay:zero48, r=sfackler
Use a byte literal ASCII 0 instead of its decimal value @SimonSapin noticed this in dtolnay/itoa#8.
Ariel Ben-Yehuda committedAug 29, 2017 Configuration menu - View commit details
-
Copy full SHA for be0ac01 - Browse repository at this point
Copy the full SHA be0ac01View commit details -
Auto merge of rust-lang#44169 - arielb1:rollup, r=arielb1
Rollup of 12 pull requests - Successful merges: rust-lang#43705, rust-lang#43778, rust-lang#43918, rust-lang#44076, rust-lang#44117, rust-lang#44121, rust-lang#44126, rust-lang#44134, rust-lang#44135, rust-lang#44141, rust-lang#44144, rust-lang#44158 - Failed merges:
Configuration menu - View commit details
-
Copy full SHA for c11f689 - Browse repository at this point
Copy the full SHA c11f689View commit details -
rustc: Make the
trait_map
of TyCtxt privateThis map is calculated in resolve, but we want to be sure to track it for incremental compliation. Hide it behind a query to get more refactorings later.
Configuration menu - View commit details
-
Copy full SHA for 32d35e6 - Browse repository at this point
Copy the full SHA 32d35e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3da868d - Browse repository at this point
Copy the full SHA 3da868dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71dfe64 - Browse repository at this point
Copy the full SHA 71dfe64View commit details -
Make fields of
Span
public againThis helps to avoid landing changes to rustc and rustfmt in one step
Configuration menu - View commit details
-
Copy full SHA for a0c3264 - Browse repository at this point
Copy the full SHA a0c3264View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80d513a - Browse repository at this point
Copy the full SHA 80d513aView commit details
Commits on Aug 30, 2017
-
Auto merge of rust-lang#43938 - arielb1:closure-key, r=nikomatsakis
Track closure signatures & kinds in freshened types r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 09ea6b7 - Browse repository at this point
Copy the full SHA 09ea6b7View commit details -
Auto merge of rust-lang#44143 - alexcrichton:faster-bootstrap, r=Mark…
…-Simulacrum rustbuild: Avoid some extraneous rustc compiles on cross builds This tweaks a few locations here and there to avoid compiling rustc too many times on our cross-builders on CI. Closes rust-lang#44132
Configuration menu - View commit details
-
Copy full SHA for c2f9cc4 - Browse repository at this point
Copy the full SHA c2f9cc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f7594d - Browse repository at this point
Copy the full SHA 6f7594dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 873a05e - Browse repository at this point
Copy the full SHA 873a05eView commit details -
rustc: Make the
export_map
of TyCtxt privateThis map, like `trait_map`, is calculated in resolve, but we want to be sure to track it for incremental compliation. Hide it behind a query to get more refactorings later.
Configuration menu - View commit details
-
Copy full SHA for 942c8dc - Browse repository at this point
Copy the full SHA 942c8dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f591a4 - Browse repository at this point
Copy the full SHA 4f591a4View commit details -
Auto merge of rust-lang#43880 - arielb1:noninvasive-probe, r=nikomats…
…akis Remove the trait selection impl in method::probe This removes the hacky trait selection reimplementation in `method::probe`, which occasionally comes and causes problems. There are 2 issues I've found with this approach: 1. The older implementation sometimes had a "guess" type from an impl, which allowed subtyping to work. This is why I needed to make a change in `libtest`: there's an `impl<A> Clone for fn(A)` and we're calling `<for<'a> fn(&'a T) as Clone>::clone`. The older implementation would do a subtyping between the impl type and the trait type, so it would do the check for `<fn(A) as Clone>::clone`, and confirmation would continue with the subtyping. The newer implementation directly passes `<for<'a> fn(&'a T) as Clone>::clone` to selection, which fails. I'm not sure how big of a problem that would be in reality, especially after rust-lang#43690 would remove the `Clone` problem, but I still want a crater run to avoid breaking the world. 2. The older implementation "looked into" impls to display error messages. I'm not sure that's an advantage - it looked exactly 1 level deep. r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for b58e31a - Browse repository at this point
Copy the full SHA b58e31aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 274543b - Browse repository at this point
Copy the full SHA 274543bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1367ef - Browse repository at this point
Copy the full SHA e1367efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33d99e5 - Browse repository at this point
Copy the full SHA 33d99e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2774b7 - Browse repository at this point
Copy the full SHA f2774b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bba7fd9 - Browse repository at this point
Copy the full SHA bba7fd9View commit details -
Auto merge of rust-lang#43903 - oli-obk:alignto, r=aturon
Add align_offset intrinsic see rust-lang/rfcs#2043 for details and the plan towards stabilization (reexport in `core::mem` via various convenience functions) as per @scottmcm 's [comment](rust-lang/rfcs#2043 (comment)), this is just the intrinsic (which is obviously unstable).
Configuration menu - View commit details
-
Copy full SHA for c66e7fa - Browse repository at this point
Copy the full SHA c66e7faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b26f3a - Browse repository at this point
Copy the full SHA 9b26f3aView commit details -
Auto merge of rust-lang#43968 - petrochenkov:span2, r=michaelwoerister
Make fields of `Span` private I actually tried to intern spans and benchmark the result<sup>*</sup>, and this was a prerequisite. This kind of encapsulation will be a prerequisite for any other attempt to compress span's representation, so I decided to submit this change alone. The issue rust-lang#43088 seems relevant, but it looks like `SpanId` won't be able to reuse this interface, unless the tables are global (like interner that I tried) and are not a part of HIR. r? @michaelwoerister anyway <sup>*</sup> Interning means 2-3 times more space is required for a single span, but duplicates are free. In practice it turned out that duplicates are not *that* common, so more memory was wasted by interning rather than saved.
Configuration menu - View commit details
-
Copy full SHA for ca9cf35 - Browse repository at this point
Copy the full SHA ca9cf35View commit details -
Auto merge of rust-lang#43895 - JeremySorensen:master, r=alexcrichton
make ignore-git true by default when channel is dev Fixes rust-lang#43771 (Handle git info in rustbuild differently)
Configuration menu - View commit details
-
Copy full SHA for 51a54b6 - Browse repository at this point
Copy the full SHA 51a54b6View commit details -
Rollup merge of rust-lang#44044 - mattico:string-splice-return, r=dto…
…lnay Remove Splice struct return value from String::splice The implementation is now almost identical to the one in the RFC. Fixes rust-lang#44038 cc rust-lang#32310
Configuration menu - View commit details
-
Copy full SHA for 581dc93 - Browse repository at this point
Copy the full SHA 581dc93View commit details -
Rollup merge of rust-lang#44089 - alexcrichton:trait-proc-macro, r=nrc
rustc: Fix proc_macro expansions on trait methods This commit fixes procedural macro attributes being attached to trait methods, ensuring that they get resolved and expanded as other procedural macro attributes. The bug here was that `current_module` on the resolver was accidentally set to be a trait when it's otherwise only ever expecting a `mod`/block module. The actual fix here came from @jseyfried, I'm just helping to land it in the compiler! Closes rust-lang#42493
Configuration menu - View commit details
-
Copy full SHA for 63cc2dd - Browse repository at this point
Copy the full SHA 63cc2ddView commit details -
Rollup merge of rust-lang#44116 - alexcrichton:update-libc, r=Mark-Si…
…mulacrum Update the libc submodule Brings in a few fixes for wasm/asmjs
Configuration menu - View commit details
-
Copy full SHA for bc6981b - Browse repository at this point
Copy the full SHA bc6981bView commit details -
Rollup merge of rust-lang#44125 - SergioBenitez:master, r=nrc
Initial diagnostic API for proc-macros. This commit introduces the ability to create and emit `Diagnostic` structures from proc-macros, allowing for proc-macro authors to emit warning, error, note, and help messages just like the compiler does. The API is somewhat based on the diagnostic API already present in `rustc` with several changes that improve usability. The entry point into the diagnostic API is a new `Diagnostic` type which is primarily created through new `error`, `warning`, `help`, and `note` methods on `Span`. The `Diagnostic` type records the diagnostic level, message, and optional `Span` for the top-level diagnostic and contains a `Vec` of all of the child diagnostics. Child diagnostics can be added through builder methods on `Diagnostic`. A typical use of the API may look like: ```rust let token = parse_token(); let val = parse_val(); val.span .error(format!("expected A but found {}", val)) .span_note(token.span, "because of this token") .help("consider using a different token") .emit(); ``` cc @jseyfried @nrc @dtolnay @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for fd4f362 - Browse repository at this point
Copy the full SHA fd4f362View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76e3221 - Browse repository at this point
Copy the full SHA 76e3221View commit details -
Auto merge of rust-lang#43932 - eddyb:const-scoping, r=nikomatsakis
Forward-compatibly deny drops in constants if they *could* actually run. This is part of rust-lang#40036, specifically the checks for user-defined destructor invocations on locals which *may not* have been moved away, the motivating example being: ```rust const FOO: i32 = (HasDrop {...}, 0).1; ``` The evaluation of constant MIR will continue to create `'static` slots for more locals than is necessary (if `Storage{Live,Dead}` statements are ignored), but it shouldn't be misusable. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 7eeac1b - Browse repository at this point
Copy the full SHA 7eeac1bView commit details -
Rollup merge of rust-lang#44157 - alexcrichton:no-specializes-cache, …
…r=eddyb rustc: Remove `specialization_cache` in favor of a query This commit removes the `specialization_cache` field of `TyCtxt` by moving it to a dedicated query, which it turned out was already quite easily structured to do so! cc rust-lang#44137
Configuration menu - View commit details
-
Copy full SHA for 8962393 - Browse repository at this point
Copy the full SHA 8962393View commit details -
Rollup merge of rust-lang#44160 - AndyGauge:api-docs-macros, r=stevek…
…labnik API docs: macros. Standard Documentation Checklist Fixes rust-lang#29381 r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for c0812c8 - Browse repository at this point
Copy the full SHA c0812c8View commit details -
Rollup merge of rust-lang#44172 - mattico:patch-2, r=frewsxcv
Fix link in unstable book entry for Generators
Configuration menu - View commit details
-
Copy full SHA for 16bbff0 - Browse repository at this point
Copy the full SHA 16bbff0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c279a4 - Browse repository at this point
Copy the full SHA 5c279a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bde0071 - Browse repository at this point
Copy the full SHA bde0071View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1615d35 - Browse repository at this point
Copy the full SHA 1615d35View commit details -
rustc: Remove the
used_unsafe
field on TyCtxtNow that lint levels are available for the entire compilation, this can be an entirely local lint in `effect.rs`
Configuration menu - View commit details
-
Copy full SHA for 058202e - Browse repository at this point
Copy the full SHA 058202eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c2a9d6 - Browse repository at this point
Copy the full SHA 0c2a9d6View commit details
Commits on Aug 31, 2017
-
rustc: Fix reachability with cross-crate generators
Same solution as in f2df185 Closes rust-lang#44181
Configuration menu - View commit details
-
Copy full SHA for 41d3e83 - Browse repository at this point
Copy the full SHA 41d3e83View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9fea42 - Browse repository at this point
Copy the full SHA b9fea42View commit details -
Auto merge of rust-lang#44186 - alexcrichton:rollup, r=alexcrichton
Rollup of 8 pull requests - Successful merges: rust-lang#44044, rust-lang#44089, rust-lang#44116, rust-lang#44125, rust-lang#44154, rust-lang#44157, rust-lang#44160, rust-lang#44172 - Failed merges: rust-lang#44162
Configuration menu - View commit details
-
Copy full SHA for 890c87b - Browse repository at this point
Copy the full SHA 890c87bView commit details -
rustbuild: update the rust-src filter for compiler-rt
We wanted `src/compiler-rt/test` filtered from the `rust-src` package, but that path is now `src/libcompiler_builtins/compiler-rt/test`. This saves over half of the installed rust-src size. (50MB -> 22MB)
Configuration menu - View commit details
-
Copy full SHA for 35f8a20 - Browse repository at this point
Copy the full SHA 35f8a20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 396fc11 - Browse repository at this point
Copy the full SHA 396fc11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92867d2 - Browse repository at this point
Copy the full SHA 92867d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eb478a - Browse repository at this point
Copy the full SHA 5eb478aView commit details -
Configuration menu - View commit details
-
Copy full SHA for da30284 - Browse repository at this point
Copy the full SHA da30284View commit details -
Configuration menu - View commit details
-
Copy full SHA for b501d00 - Browse repository at this point
Copy the full SHA b501d00View commit details -
Auto merge of rust-lang#41991 - GuillaumeGomez:rustdoc-html-diff, r=nrc
Add warnings when rustdoc html rendering differs
Configuration menu - View commit details
-
Copy full SHA for 97b01ab - Browse repository at this point
Copy the full SHA 97b01abView commit details -
This commit updates the bootstrap compiler and clears out a number of #[cfg(stage0)] annotations and related business
Configuration menu - View commit details
-
Copy full SHA for 2972687 - Browse repository at this point
Copy the full SHA 2972687View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b9de27 - Browse repository at this point
Copy the full SHA 9b9de27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a2a8d7 - Browse repository at this point
Copy the full SHA 7a2a8d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a716fd - Browse repository at this point
Copy the full SHA 0a716fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba643fa - Browse repository at this point
Copy the full SHA ba643faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9988e79 - Browse repository at this point
Copy the full SHA 9988e79View commit details -
Fix typo in 1.20.0 release notes
str::from_boxed_utf8_unchecked rather than ste::
Configuration menu - View commit details
-
Copy full SHA for 945ba85 - Browse repository at this point
Copy the full SHA 945ba85View commit details -
Fix release note on associated constants
Associated constants seem to be stable everywhere, not just in traits
Lukas H committedAug 31, 2017 Configuration menu - View commit details
-
Copy full SHA for f575185 - Browse repository at this point
Copy the full SHA f575185View commit details -
Only emit warnings if the user is using Pulldown
Also checks for differences after eliminating whitespace-only diffs. Renames get_html_diff
Configuration menu - View commit details
-
Copy full SHA for a5f50a9 - Browse repository at this point
Copy the full SHA a5f50a9View commit details -
Auto merge of rust-lang#43425 - matklad:lambda-restrictions, r=eddyb
Lambda expressions honor no struct literal restriction This is a fix for rust-lang#43412 if we decide that it is indeed a bug :) closes rust-lang#43412
Configuration menu - View commit details
-
Copy full SHA for 69dbe66 - Browse repository at this point
Copy the full SHA 69dbe66View commit details
Commits on Sep 1, 2017
-
Rollup merge of rust-lang#44192 - GuillaumeGomez:sub-fields-style, r=…
…QuietMisdreavus Fix invalid display of enum sub-fields docs Before: <img width="1440" alt="screen shot 2017-08-30 at 23 17 00" src="https://user-images.githubusercontent.com/3050060/29895433-61f2bf8c-8dd9-11e7-83e8-cf1dca878100.png"> After: <img width="1440" alt="screen shot 2017-08-30 at 23 16 48" src="https://user-images.githubusercontent.com/3050060/29895441-66dea042-8dd9-11e7-9576-11b0c770c70b.png"> cc @nox @rust-lang/docs
Configuration menu - View commit details
-
Copy full SHA for fd5a945 - Browse repository at this point
Copy the full SHA fd5a945View commit details -
Rollup merge of rust-lang#44199 - jakllsch:jakllsch-abcc6c4a-0caf-4d3…
…0-b336-39629c73d3f5, r=sfackler bootstrap: add openssl configuration mapping for i686-unknown-netbsd
Configuration menu - View commit details
-
Copy full SHA for 5f00b10 - Browse repository at this point
Copy the full SHA 5f00b10View commit details -
Rollup merge of rust-lang#44202 - alexcrichton:xcrate-generators, r=a…
…rielb1 rustc: Fix reachability with cross-crate generators Same solution as in f2df185 Closes rust-lang#44181
Configuration menu - View commit details
-
Copy full SHA for f3b7197 - Browse repository at this point
Copy the full SHA f3b7197View commit details -
Rollup merge of rust-lang#44203 - cuviper:compiler-rt-test, r=Mark-Si…
…mulacrum rustbuild: update the rust-src filter for compiler-rt We wanted `src/compiler-rt/test` filtered from the `rust-src` package, but that path is now `src/libcompiler_builtins/compiler-rt/test`. This saves over half of the installed rust-src size. (50MB -> 22MB)
Configuration menu - View commit details
-
Copy full SHA for b66823f - Browse repository at this point
Copy the full SHA b66823fView commit details -
Rollup merge of rust-lang#44205 - frewsxcv:frewsxcv-addr-doc-fix, r=Q…
…uietMisdreavus Fix typo in doc `ToSocketAddrs` example. None
Configuration menu - View commit details
-
Copy full SHA for 471f989 - Browse repository at this point
Copy the full SHA 471f989View commit details -
Rollup merge of rust-lang#44207 - durka:define-maps-fn, r=eddyb
add `fn` to syntax of rustc::ty::maps::define_maps This is not a functional change, it just makes it possible to find a query by grepping without knowing that it's a query rather than a function. I didn't pursue renaming everything from "map" to "query" because it seems to be a very invasive change. It would be a good test to exercise an IDE's renaming features. Closes rust-lang#44161 r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for 4b2d568 - Browse repository at this point
Copy the full SHA 4b2d568View commit details -
Rollup merge of rust-lang#44209 - frewsxcv:frewsxcv-addr-other-scenar…
…ios, r=alexcrichton Expand docs of multi-address behavior of some UDP/TCP APIs. Fixes rust-lang#22569.
Configuration menu - View commit details
-
Copy full SHA for 3cd4ea3 - Browse repository at this point
Copy the full SHA 3cd4ea3View commit details -
Rollup merge of rust-lang#44223 - eddyb:symbol-from-str, r=jseyfried
Implement From<&str> for Symbol. This lets us have `fn foo<S: Into<Symbol>>` bounds and accept both `&str` and existing `Symbol`s. r? @jseyfried
Configuration menu - View commit details
-
Copy full SHA for 9c4bdd3 - Browse repository at this point
Copy the full SHA 9c4bdd3View commit details -
Rollup merge of rust-lang#44230 - Phlosioneer:patch-1, r=sfackler
Fix typo in 1.20.0 release notes str::from_boxed_utf8_unchecked rather than ste::
Configuration menu - View commit details
-
Copy full SHA for 88ee66d - Browse repository at this point
Copy the full SHA 88ee66dView commit details -
Rollup merge of rust-lang#44231 - lukaramu:patch-1, r=alexcrichton
Fix release notes on associated constants Associated constants seem to be stable everywhere, not just in traits
Configuration menu - View commit details
-
Copy full SHA for 81fc0e1 - Browse repository at this point
Copy the full SHA 81fc0e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ab20a3 - Browse repository at this point
Copy the full SHA 9ab20a3View commit details -
Bring back stage0 allocator logic on MSVC
I think there may still be bugs preventing its removal..
Configuration menu - View commit details
-
Copy full SHA for 9e5a7e9 - Browse repository at this point
Copy the full SHA 9e5a7e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a8aac3 - Browse repository at this point
Copy the full SHA 1a8aac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for abc0530 - Browse repository at this point
Copy the full SHA abc0530View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbb1612 - Browse repository at this point
Copy the full SHA fbb1612View commit details -
Auto merge of rust-lang#44233 - Mark-Simulacrum:rollup, r=Mark-Simula…
…crum Rollup of 10 pull requests - Successful merges: rust-lang#44192, rust-lang#44199, rust-lang#44202, rust-lang#44203, rust-lang#44205, rust-lang#44207, rust-lang#44209, rust-lang#44223, rust-lang#44230, rust-lang#44231 - Failed merges:
Configuration menu - View commit details
-
Copy full SHA for 45d31e7 - Browse repository at this point
Copy the full SHA 45d31e7View commit details -
This is just undoing changes from rust-lang#41991 because we are not running markdown rendering twice.
Configuration menu - View commit details
-
Copy full SHA for 1d6d09f - Browse repository at this point
Copy the full SHA 1d6d09fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28ddd7a - Browse repository at this point
Copy the full SHA 28ddd7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea6aca7 - Browse repository at this point
Copy the full SHA ea6aca7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4996ec - Browse repository at this point
Copy the full SHA e4996ecView commit details -
Auto merge of rust-lang#44171 - eddyb:scope, r=nikomatsakis
Use hir::ItemLocalId instead of ast::NodeId in rustc::middle::region::CodeExtent. This is an alternative to @michaelwoerister's rust-lang#43887, changing `CodeExtent` instead of `ReScope`. The benefit here is that the same `Region`s are used same-crate and cross-crate, while preserving the incremental recompilation properties of the stable `hir::ItemLocalId`. Only places which needed to get back to the `ast::NodeId` from `CodeExtent` was its `span` method, used in error reporting - passing the `&RegionMaps` down allowed using `hir_to_node_id`. `rustc::cfg` and `dataflow` also had to be converted to `hir::ItemLocalId` because of their interactions with `CodeExtent`, especially in `borrowck`, and from that we have 3 more `hir_to_node_id` calls: `cfg::graphviz` node labels, `borrowck` move reporting, and the `unconditional_recursion` lint. Out of all of those, *only* the lint actually makes a decision (on whether code will compile) based on the result of the conversion, the others only use it to know how to print information to the user. So I think we're safe to say that the bulk of the code working with a `CodeExtent` is fine with local IDs. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for a59a6d8 - Browse repository at this point
Copy the full SHA a59a6d8View commit details -
Auto merge of rust-lang#44238 - nrc:pulldown-warn, r=@QuietMisdreavus
Improve the Pulldown/hoedown warnings cc rust-lang#44229 r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for ed532c0 - Browse repository at this point
Copy the full SHA ed532c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 271c63c - Browse repository at this point
Copy the full SHA 271c63cView commit details -
Auto merge of rust-lang#44154 - alexcrichton:bump-bootstrap, r=Mark-S…
…imulacrum Bump to 1.22.0 and update boostrap compiler Time to get a new nightly!
Configuration menu - View commit details
-
Copy full SHA for f861b6e - Browse repository at this point
Copy the full SHA f861b6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f866152 - Browse repository at this point
Copy the full SHA f866152View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb143c3 - Browse repository at this point
Copy the full SHA eb143c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bdfd8a - Browse repository at this point
Copy the full SHA 8bdfd8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22ca03b - Browse repository at this point
Copy the full SHA 22ca03bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7befbbc - Browse repository at this point
Copy the full SHA 7befbbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc563ef - Browse repository at this point
Copy the full SHA dc563efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02ec0ae - Browse repository at this point
Copy the full SHA 02ec0aeView commit details
Commits on Sep 2, 2017
-
powerpc64: improve extern struct ABI
These fixes all have to do with the 64-bit PowerPC ELF ABI for big-endian targets. The ELF v2 ABI for powerpc64le already worked well. - Return after marking return aggregates indirect. Fixes rust-lang#42757. - Pass one-member float aggregates as direct argument values. - Aggregate arguments less than 64-bit must be written in the least- significant bits of the parameter space. - Larger aggregates are instead padded at the tail. (i.e. filling MSBs, padding the remaining LSBs.) New tests were also added for the single-float aggregate, and a 3-byte aggregate to check that it's filled into LSBs. Overall, at least these formerly-failing tests now pass on powerpc64: - run-make/extern-fn-struct-passing-abi - run-make/extern-fn-with-packed-struct - run-pass/extern-pass-TwoU16s.rs - run-pass/extern-pass-TwoU8s.rs - run-pass/struct-return.rs
Configuration menu - View commit details
-
Copy full SHA for a9bb599 - Browse repository at this point
Copy the full SHA a9bb599View commit details -
Configuration menu - View commit details
-
Copy full SHA for afcc58a - Browse repository at this point
Copy the full SHA afcc58aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7c9704 - Browse repository at this point
Copy the full SHA f7c9704View commit details -
x86: return single-float aggregates in a float register
Following Clang's lead, and anecdotal evidence from the `float_one` part of `run-make/extern-fn-struct-passing-abi`, use a floating point register to return single-float aggregates, except on MSVC targets.
Configuration menu - View commit details
-
Copy full SHA for 40b1473 - Browse repository at this point
Copy the full SHA 40b1473View commit details -
This includes rust-lang/cargo#4447 which fixes a bug in Cargo that is needed to fix rust-lang#44237.
Configuration menu - View commit details
-
Copy full SHA for 1b758fb - Browse repository at this point
Copy the full SHA 1b758fbView commit details -
rustc: Flag {i,u}128 as unsafe for FFI
These don't appear to have a stable ABI as noted in rust-lang#41799 and the work in compiler-builtins definitely seems to be confirming it!
Configuration menu - View commit details
-
Copy full SHA for 549dd10 - Browse repository at this point
Copy the full SHA 549dd10View commit details -
Configuration menu - View commit details
-
Copy full SHA for d516434 - Browse repository at this point
Copy the full SHA d516434View commit details -
Auto merge of rust-lang#44104 - llogiq:lowercase-lints, r=nikomatsakis
add a lowercase suggestion to unknown_lints I recently wrote some tests for a clippy lint, copied the (uppercase) lint name into my test file and forgot to toggle the case. This PR adds a suggestion that would have saved me 10 minutes of debugging, so it's likely a net win 🙂 . Also it adds a UI test for the `unknown_lints` lint.
Configuration menu - View commit details
-
Copy full SHA for efceda2 - Browse repository at this point
Copy the full SHA efceda2View commit details -
Auto merge of rust-lang#44256 - GuillaumeGomez:update-html-diff-rs, r…
…=Mark-Simulacrum Update html-diff-rs version r? @nrc
Configuration menu - View commit details
-
Copy full SHA for cc1fc88 - Browse repository at this point
Copy the full SHA cc1fc88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2354089 - Browse repository at this point
Copy the full SHA 2354089View commit details -
Auto merge of rust-lang#44259 - Mark-Simulacrum:update-cargo, r=alexc…
…richton Update cargo This includes rust-lang/cargo#4447 which fixes a bug in Cargo that is needed to fix rust-lang#44237. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 8d83c15 - Browse repository at this point
Copy the full SHA 8d83c15View commit details -
Remove invalid doctest from bootstrap.py.
Make sure that if the test is failed, the CI will stop the build.
Configuration menu - View commit details
-
Copy full SHA for 4d06185 - Browse repository at this point
Copy the full SHA 4d06185View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94a9a30 - Browse repository at this point
Copy the full SHA 94a9a30View commit details -
Auto merge of rust-lang#43886 - oli-obk:clippy, r=nrc
Add clippy as a submodule ~~This builds clippy as part of `./x.py build` (locally and in CI).~~ This allows building clippy with `./x.py build src/tools/clippy` ~~Needs rust-dev-tools/dev-tools-team#18 (comment) to be resolved before it can be merged.~~ Contributers can simply open a PR to clippy and point the submodule at the `pull/$pr_number/head` branch. This does **not** build clippy or test the clippy test suite at all as per rust-dev-tools/dev-tools-team#18 (comment) r? @nrc cc @Manishearth @llogiq @mcarton @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 204c0a4 - Browse repository at this point
Copy the full SHA 204c0a4View commit details -
Auto merge of rust-lang#44066 - cuviper:powerpc64-extern-abi, r=alexc…
…richton powerpc64: improve extern struct ABI These fixes all have to do with the 64-bit PowerPC ELF ABI for big-endian targets. The ELF v2 ABI for powerpc64le already worked well. - Return after marking return aggregates indirect. Fixes rust-lang#42757. - Pass one-member float aggregates as direct argument values. - Aggregate arguments less than 64-bit must be written in the least- significant bits of the parameter space. - Larger aggregates are instead padded at the tail. (i.e. filling MSBs, padding the remaining LSBs.) New tests were also added for the single-float aggregate, and a 3-byte aggregate to check that it's filled into LSBs. Overall, at least these formerly-failing tests now pass on powerpc64: - run-make/extern-fn-struct-passing-abi - run-make/extern-fn-with-packed-struct - run-pass/extern-pass-TwoU16s.rs - run-pass/extern-pass-TwoU8s.rs - run-pass/struct-return.rs
Configuration menu - View commit details
-
Copy full SHA for 744dd6c - Browse repository at this point
Copy the full SHA 744dd6cView commit details -
Auto merge of rust-lang#44108 - mattico:match-pipe, r=petrochenkov
Implement RFC 1925 cc rust-lang#44101
Configuration menu - View commit details
-
Copy full SHA for 6f66730 - Browse repository at this point
Copy the full SHA 6f66730View commit details
Commits on Sep 3, 2017
-
Auto merge of rust-lang#44176 - nrc:update-rls, r=alexcrichton
Update rls And expose the `CFG_VERSION` env var to tools so they can determine the version of Rust. This gets the RLS back on master and so completes the PR dance for the generators PR. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 5e9431a - Browse repository at this point
Copy the full SHA 5e9431aView commit details -
Auto merge of rust-lang#44195 - alexcrichton:remove-used-unsafe, r=ni…
…komatsakis rustc: Remove the `used_unsafe` field on TyCtxt Now that lint levels are available for the entire compilation, this can be an entirely local lint in `effect.rs` cc rust-lang#44137
Configuration menu - View commit details
-
Copy full SHA for fc54bf9 - Browse repository at this point
Copy the full SHA fc54bf9View commit details -
Auto merge of rust-lang#44252 - eddyb:what-is-dead-may-never-die, r=n…
…ikomatsakis Better StorageLive / StorageDead placement for constants. Fixes problems in miri (see rust-lang/miri#324 (comment)) caused by the new scope rules in rust-lang#43932. What I've tried to do here is always have a `StorageLive` but no `StorageDead` for `'static` slots. It might not work perfectly in all cases, but it should unblock miri. r? @nikomatsakis cc @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 23ade23 - Browse repository at this point
Copy the full SHA 23ade23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 243aa12 - Browse repository at this point
Copy the full SHA 243aa12View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf07ebd - Browse repository at this point
Copy the full SHA cf07ebdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6866aea - Browse repository at this point
Copy the full SHA 6866aeaView commit details -
enable desugaring-sensitive error messages and use them in Try
Maybe I should allow error messages to check the *specific* desugaring? Thanks @huntiep for the idea!
Configuration menu - View commit details
-
Copy full SHA for 02b3ae6 - Browse repository at this point
Copy the full SHA 02b3ae6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dec953 - Browse repository at this point
Copy the full SHA 6dec953View commit details -
Configuration menu - View commit details
-
Copy full SHA for efa09ea - Browse repository at this point
Copy the full SHA efa09eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 291b4ed - Browse repository at this point
Copy the full SHA 291b4edView commit details -
Auto merge of rust-lang#44253 - eddyb:nice-scope, r=nikomatsakis
rustc: rename CodeExtent to Scope and RegionMaps to ScopeTree. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 2f2b8b3 - Browse repository at this point
Copy the full SHA 2f2b8b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c911925 - Browse repository at this point
Copy the full SHA c911925View commit details -
Auto merge of rust-lang#44191 - arielb1:on-unimplemented-label, r=nik…
…omatsakis More general `on_unimplemented`, with uses in `Try` Allow `on_unimplemented` directives to specify both the label and the primary message of the trait error, and allow them to be controlled by flags - currently only to be desugaring-sensitive. e.g. ```Rust #[rustc_on_unimplemented( on(all(direct, from_desugaring="?"), message="the `?` operator can only be used in a \ function that returns `Result` \ (or another type that implements `{Try}`)", label="cannot use the `?` operator in a function that returns `{Self}`"), )] ``` r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for c8642da - Browse repository at this point
Copy the full SHA c8642daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f42cd8 - Browse repository at this point
Copy the full SHA 2f42cd8View commit details -
Auto merge of rust-lang#44261 - alexcrichton:u128-ffi-unsafe, r=eddyb
rustc: Flag {i,u}128 as unsafe for FFI These don't appear to have a stable ABI as noted in rust-lang#41799 and the work in compiler-builtins definitely seems to be confirming it!
Configuration menu - View commit details
-
Copy full SHA for 981ce7d - Browse repository at this point
Copy the full SHA 981ce7dView commit details -
Auto merge of rust-lang#44263 - durka:stabilize-discriminant, r=dtolnay
stabilize mem::discriminant (closes rust-lang#24263)
Configuration menu - View commit details
-
Copy full SHA for 0006d3e - Browse repository at this point
Copy the full SHA 0006d3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e644e2 - Browse repository at this point
Copy the full SHA 9e644e2View commit details
Commits on Sep 4, 2017
-
Auto merge of rust-lang#44272 - Dushistov:master, r=alexcrichton
add test for not optimized `pow` with constant power Closes rust-lang#34947
Configuration menu - View commit details
-
Copy full SHA for a3beb8f - Browse repository at this point
Copy the full SHA a3beb8fView commit details -
Auto merge of rust-lang#44268 - kennytm:fix-python-bootstrap-test, r=…
…Mark-Simulacrum rustbuild: Remove invalid doctest from bootstrap.py
Configuration menu - View commit details
-
Copy full SHA for e22a3cf - Browse repository at this point
Copy the full SHA e22a3cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e74f96e - Browse repository at this point
Copy the full SHA e74f96eView commit details -
Auto merge of rust-lang#44300 - Manishearth:clippyup, r=oli-obk
Resync clippy to v0.0.156 None
Configuration menu - View commit details
-
Copy full SHA for a36d93d - Browse repository at this point
Copy the full SHA a36d93dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4d5a1e - Browse repository at this point
Copy the full SHA c4d5a1eView commit details -
Auto merge of rust-lang#44194 - QuietMisdreavus:hey-how-do-i-use-this…
…-new-fangled-thing, r=aturon expand on using rustup custom toolchains in CONTRIBUTING.md fixes rust-lang#42484 Should i include more notes about how to use a local build *without* rustup? It can kinda feel like a cop-out otherwise. Other means that come to mind are setting `$RUSTC` directly and fully installing it. cc @rust-lang/docs
Configuration menu - View commit details
-
Copy full SHA for 088216f - Browse repository at this point
Copy the full SHA 088216fView commit details -
Auto merge of rust-lang#43067 - pornel:libdeps, r=nrc
Compact display of static lib dependencies Fixes rust-lang#33173 Instead of displaying one dependency per line, I've changed the format to display them all in one line. As a bonus they're in format of linker flags (`-lfoo`), so the output can be copy&pasted if one is actually going to link as suggested.
Configuration menu - View commit details
-
Copy full SHA for 22d6598 - Browse repository at this point
Copy the full SHA 22d6598View commit details
Commits on Sep 5, 2017
-
Auto merge of rust-lang#44248 - oli-obk:spans, r=jseyfried
Produce expansion info for more builtin macros r? @jseyfried fixes rust-lang#43268
Configuration menu - View commit details
-
Copy full SHA for 2f681bf - Browse repository at this point
Copy the full SHA 2f681bfView commit details -
Auto merge of rust-lang#44308 - eddyb:local-index, r=arielb1
[MIR] Restrict ProjectionElem::Index and Storage{Live,Dead} to Local. (see rust-lang#44285) r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 2f1ef9e - Browse repository at this point
Copy the full SHA 2f1ef9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ffc3dd - Browse repository at this point
Copy the full SHA 1ffc3ddView commit details