-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
bootstrap: add openssl configuration mapping for i686-unknown-netbsd #44199
Closed
jakllsch
wants to merge
53
commits into
rust-lang:master
from
jakllsch:jakllsch-abcc6c4a-0caf-4d30-b336-39629c73d3f5
Closed
bootstrap: add openssl configuration mapping for i686-unknown-netbsd #44199
jakllsch
wants to merge
53
commits into
rust-lang:master
from
jakllsch:jakllsch-abcc6c4a-0caf-4d30-b336-39629c73d3f5
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
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.
Brings in a few fixes for wasm/asmjs
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!
…ion Checklist.
This 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.
This 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.
…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
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
…mulacrum Update the libc submodule Brings in a few fixes for wasm/asmjs
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
…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
…labnik API docs: macros. Standard Documentation Checklist Fixes rust-lang#29381 r? @steveklabnik
Fix link in unstable book entry for Generators
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
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)
Add warnings when rustdoc html rendering differs
aidanhs
added
the
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
label
Aug 31, 2017
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this pull request
Aug 31, 2017
…0-b336-39629c73d3f5, r=sfackler bootstrap: add openssl configuration mapping for i686-unknown-netbsd
str::from_boxed_utf8_unchecked rather than ste::
Associated constants seem to be stable everywhere, not just in traits
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
…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
…0-b336-39629c73d3f5, r=sfackler bootstrap: add openssl configuration mapping for i686-unknown-netbsd
…rielb1 rustc: Fix reachability with cross-crate generators Same solution as in f2df185 Closes rust-lang#44181
…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)
…uietMisdreavus Fix typo in doc `ToSocketAddrs` example. None
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
…ios, r=alexcrichton Expand docs of multi-address behavior of some UDP/TCP APIs. Fixes rust-lang#22569.
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
Fix typo in 1.20.0 release notes str::from_boxed_utf8_unchecked rather than ste::
Fix release notes on associated constants Associated constants seem to be stable everywhere, not just in traits
…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:
☔ The latest upstream changes (presumably #44233) made this pull request unmergeable. Please resolve the merge conflicts. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.