Skip to content
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 10 pull requests #76456

Closed
wants to merge 28 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
93eaf15
Add SessionDiagnostic derive macro.
jumbatm Aug 27, 2020
57edf88
Replace some trivial struct_span_err!s in typeck.
jumbatm Aug 27, 2020
5956254
Fix typos in E0224
jumbatm Aug 25, 2020
d80415a
Improve ayu doc source line number contrast
pickfire Sep 5, 2020
4fff14d
rustbuild: Remove `Mode::Codegen`
petrochenkov Sep 5, 2020
5acd272
Fix HashMap visualizers in Visual Studio (Code)
MaulingMonkey Sep 5, 2020
b92b0d6
Fix typo in tracking issue template
dylni Sep 6, 2020
4efe97a
Check placement of more attributes
calebzulawski Jun 14, 2020
f745b34
Emit warnings for misplaced attributes used by some crates
calebzulawski Jul 11, 2020
0c62ef0
Allow #[cold], #[track_caller] on closures. Fix whitespace in error m…
calebzulawski Aug 12, 2020
acd68b5
Fix broken test on musl
calebzulawski Sep 6, 2020
8f69266
Emit warnings on misplaced #[no_mangle]
calebzulawski Sep 6, 2020
9e14033
Update linker-plugin-lto.md to contain up to rust 1.46
elichai Sep 6, 2020
84fc6fd
Fix documentation for TyCtxt::all_impls
scrabsha Sep 6, 2020
2e82589
linker-plugin-lto.md: Convert the rust-clang MxN table to a 2xM table
elichai Sep 6, 2020
720293b
do not premote non-ZST mutable references ever
RalfJung Aug 16, 2020
28ddda7
add compile-fail test for &mut promotion
RalfJung Aug 16, 2020
2656d34
Make bootstrap build on stable
Mark-Simulacrum Sep 6, 2020
936b830
Rollup merge of #73461 - calebzulawski:validate-attribute-placement, …
Dylan-DPC Sep 7, 2020
b5468e1
Rollup merge of #75138 - jumbatm:session-diagnostic-derive, r=oli-obk
Dylan-DPC Sep 7, 2020
fddf315
Rollup merge of #75585 - RalfJung:demotion, r=oli-obk
Dylan-DPC Sep 7, 2020
f037dca
Rollup merge of #76374 - pickfire:patch-4, r=Cldfire
Dylan-DPC Sep 7, 2020
547806c
Rollup merge of #76379 - petrochenkov:nodegen, r=Mark-Simulacrum
Dylan-DPC Sep 7, 2020
b4007b5
Rollup merge of #76389 - MaulingMonkey:pr-natvis-hashmap-vsc, r=petro…
Dylan-DPC Sep 7, 2020
a79c360
Rollup merge of #76396 - dylni:fix-typo-in-tracking-issue-template, r…
Dylan-DPC Sep 7, 2020
9d649ed
Rollup merge of #76402 - elichai:patch-2, r=wesleywiser
Dylan-DPC Sep 7, 2020
910c87c
Rollup merge of #76403 - scileo:doc-all-impls, r=lcnr
Dylan-DPC Sep 7, 2020
4ab3677
Rollup merge of #76423 - Mark-Simulacrum:stable-bootstrap, r=jyn514
Dylan-DPC Sep 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/tracking_issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The feature gate for the issue is `#![feature(FFF)]`.
### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also uses as hubs connecting to other relevant issues, e.g., bugs or open design questions.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Expand Down
1 change: 1 addition & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4086,6 +4086,7 @@ dependencies = [
"rustc_hir_pretty",
"rustc_index",
"rustc_infer",
"rustc_macros",
"rustc_middle",
"rustc_session",
"rustc_span",
Expand Down
4 changes: 2 additions & 2 deletions compiler/rustc_error_codes/src/error_codes/E0224.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
A trait object was declaired with no traits.
A trait object was declared with no traits.

Erroneous code example:

Expand All @@ -8,7 +8,7 @@ type Foo = dyn 'static +;

Rust does not currently support this.

To solve ensure the the trait object has at least one trait:
To solve, ensure that the trait object has at least one trait:

```
type Foo = dyn 'static + Copy;
Expand Down
13 changes: 13 additions & 0 deletions compiler/rustc_macros/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![feature(proc_macro_diagnostic)]
#![allow(rustc::default_hash_types)]
#![recursion_limit = "128"]

Expand All @@ -9,6 +10,7 @@ mod hash_stable;
mod lift;
mod query;
mod serialize;
mod session_diagnostic;
mod symbols;
mod type_foldable;

Expand Down Expand Up @@ -36,3 +38,14 @@ decl_derive!([MetadataDecodable] => serialize::meta_decodable_derive);
decl_derive!([MetadataEncodable] => serialize::meta_encodable_derive);
decl_derive!([TypeFoldable, attributes(type_foldable)] => type_foldable::type_foldable_derive);
decl_derive!([Lift, attributes(lift)] => lift::lift_derive);
decl_derive!(
[SessionDiagnostic, attributes(
message,
lint,
error,
label,
suggestion,
suggestion_short,
suggestion_hidden,
suggestion_verbose)] => session_diagnostic::session_diagnostic_derive
);
Loading