Skip to content

Conversation

GuillaumeGomez
Copy link
Member

Part of #61137

@rust-highfive
Copy link
Contributor

Some changes occurred in diagnostic error codes

cc @GuillaumeGomez

@rust-highfive
Copy link
Contributor

r? @eddyb

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 27, 2019
The `deprecated` attribute can only be present **once** on an item.

```
#[deprecated(note = "because why not?")]
Copy link

Choose a reason for hiding this comment

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

Suggested change
#[deprecated(note = "because why not?")]
#[deprecated(note = "because why not, right?")]

maybe something like this would suggest merging the two attributes into one

@@ -144,6 +144,25 @@ fn deprecated_function() {}
```
"##,

E0550: r##"
More than one `deprecated` attribute have been put on an item.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
More than one `deprecated` attribute have been put on an item.
More than one `deprecated` attribute has been put on an item.

Copy link
Contributor

@oli-obk oli-obk left a comment

Choose a reason for hiding this comment

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

r=me with nits resolved

@oli-obk
Copy link
Contributor

oli-obk commented Sep 28, 2019

r? @oli-obk

@rust-highfive rust-highfive assigned oli-obk and unassigned eddyb Sep 28, 2019
@oli-obk oli-obk added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 28, 2019
@GuillaumeGomez GuillaumeGomez force-pushed the long-err-explanation-e0550 branch from 4733f29 to e67ae0e Compare September 30, 2019 13:53
@GuillaumeGomez
Copy link
Member Author

Nits resolved, tests passed.

@bors: r=oli-obk

@bors
Copy link
Collaborator

bors commented Sep 30, 2019

📌 Commit e67ae0e has been approved by oli-obk

@bors bors 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 30, 2019
@bors
Copy link
Collaborator

bors commented Sep 30, 2019

⌛ Testing commit e67ae0e with merge d78d6188048f40cd938e70990a85395777708698...

tmandry added a commit to tmandry/rust that referenced this pull request Sep 30, 2019
…-e0550, r=oli-obk

Add long error explanation for E0550

Part of rust-lang#61137
@tmandry
Copy link
Member

tmandry commented Sep 30, 2019

@bors retry rolled up

tmandry added a commit to tmandry/rust that referenced this pull request Sep 30, 2019
…-e0550, r=oli-obk

Add long error explanation for E0550

Part of rust-lang#61137
bors added a commit that referenced this pull request Oct 1, 2019
Rollup of 9 pull requests

Successful merges:

 - #64377 (Add long error explanation for E0493)
 - #64786 (Use https for curl when building for linux)
 - #64828 (Graphviz debug output for generic dataflow analysis)
 - #64838 (Add long error explanation for E0550)
 - #64891 (Fix `vec![x; n]` with null raw fat pointer zeroing the pointer metadata)
 - #64893 (Zero-initialize `vec![None; n]` for `Option<&T>`, `Option<&mut T>` and `Option<Box<T>>`)
 - #64911 (Fixed a misleading documentation issue #64844)
 - #64921 (Add test for issue-64662)
 - #64923 (Add missing links for mem::needs_drop)

Failed merges:

 - #64918 (Add long error explanation for E0551)

r? @ghost
@bors bors merged commit e67ae0e into rust-lang:master Oct 1, 2019
@GuillaumeGomez GuillaumeGomez deleted the long-err-explanation-e0550 branch October 1, 2019 09:47
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants