Skip to content

clarify "incorrect issue" error - #68670

Merged
bors merged 1 commit into
rust-lang:masterfrom
euclio:invalid-issue
Jan 31, 2020
Merged

clarify "incorrect issue" error#68670
bors merged 1 commit into
rust-lang:masterfrom
euclio:invalid-issue

Conversation

@euclio

Copy link
Copy Markdown
Contributor

Changes the message to be more precise, shrinks the span and adds a label specifying why the issue field is incorrect.

@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 Jan 30, 2020
@eddyb

Copy link
Copy Markdown
Contributor

r? @estebank

@rust-highfiverust-highfive assigned estebank and unassigned eddybJan 30, 2020
// FIXME(rossmacarthur): disallow 0
// Disallowing this requires updates to
// some submodules
NonZeroU32::new(num)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make 0 to act as "none"?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, preexisting

@estebank

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Jan 30, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 7632ade has been approved by estebank

@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 Jan 30, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Jan 31, 2020
clarify "incorrect issue" error
Changes the message to be more precise, shrinks the span and adds a label specifying why the `issue` field is incorrect.
bors added a commit that referenced this pull request Jan 31, 2020
Rollup of 6 pull requests
Successful merges:
- #68588 (check_unsafety: more code reuse)
- #68638 (Add missing links for cmp traits)
- #68660 (Fix typo.)
- #68669 (suggest adding space in accidental doc comments)
- #68670 (clarify "incorrect issue" error)
- #68680 (Add `#![doc(html_playground_url = ...)]` to alloc crate)
Failed merges:
r? @ghost
@bors
bors merged commit 7632ade into rust-lang:masterJan 31, 2020
@euclio
euclio deleted the invalid-issue branch January 31, 2020 15:31
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@euclio@rust-highfive@eddyb@estebank@bors