Skip to content

Create E0777 error code for invalid argument in derive - #77419

Merged
bors merged 3 commits into
rust-lang:masterfrom
GuillaumeGomez:create-e0777
Oct 4, 2020
Merged

Create E0777 error code for invalid argument in derive#77419
bors merged 3 commits into
rust-lang:masterfrom
GuillaumeGomez:create-e0777

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

The second commit is to fix a nit reported by @jyn514here.

@rust-highfive

Copy link
Copy Markdown
Contributor

Some changes occurred in diagnostic error codes

cc @GuillaumeGomez

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @eddyb

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 1, 2020
Comment threadcompiler/rustc_error_codes/src/error_codes.rs Outdated
Comment threadcompiler/rustc_error_codes/src/error_codes/E0777.md Outdated
Comment threadcompiler/rustc_expand/src/proc_macro.rs Outdated
@jyn514jyn514 added A-diagnostics Area: Messages for errors, warnings, and lints A-error-codes Area: Explanation of an error code (--explain) A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 1, 2020
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@jyn514 I added what you suggested. ;)

Comment threadcompiler/rustc_expand/src/proc_macro.rs Outdated
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

Done as well.

@jyn514

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Oct 3, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit d1d94ba has been approved by jyn514

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 3, 2020
@JohnTitorJohnTitor mentioned this pull request Oct 4, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 4, 2020
Rollup of 11 pull requests
Successful merges:
- rust-lang#75143 (Use `tracing` spans to trace the entire MIR interp stack)
- rust-lang#75699 (Uplift drop-bounds lint from clippy)
- rust-lang#76768 (Test and reject out-of-bounds shuffle vectors)
- rust-lang#77190 (updated p! macro to accept literals)
- rust-lang#77388 (Add some regression tests)
- rust-lang#77419 (Create E0777 error code for invalid argument in derive)
- rust-lang#77447 (BTreeMap: document DrainFilterInner better)
- rust-lang#77468 (Fix test name)
- rust-lang#77469 (Improve rustdoc error for failed intra-doc link resolution)
- rust-lang#77473 (Make --all-targets in x.py check opt-in)
- rust-lang#77508 (Fix capitalization in blog post name)
Failed merges:
r? `@ghost`
@bors
bors merged commit 830d1a0 into rust-lang:masterOct 4, 2020
@rustbotrustbot added this to the 1.49.0 milestone Oct 4, 2020
@GuillaumeGomez
GuillaumeGomez deleted the create-e0777 branch October 4, 2020 10:24
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-diagnosticsArea: Messages for errors, warnings, and lintsA-error-codesArea: Explanation of an error code (--explain)A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@GuillaumeGomez@rust-highfive@jyn514@bors@eddyb@rustbot