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

Sync from rust #6121

Closed
wants to merge 5 commits into from
Closed

Sync from rust #6121

wants to merge 5 commits into from

Conversation

rschoon
Copy link
Contributor

@rschoon rschoon commented Oct 6, 2020

Not much to say here, other than it includes an update for a breaking change from rustc_ast

changelog: none

pnkfelix and others added 5 commits October 4, 2020 13:14
That is, this changes `#[forbid(foo)] #[allow(foo)]` from allowing foo to
forbidding foo.
…e-forbid-in-same-scope, r=petrochenkov

Disallow overriding forbid in same scope

Rebased #73379.

Fixes #70819.
Fix LitKind's byte buffer to use refcounted slice

While working on adding a new lint for clippy (see rust-lang#6044) for avoiding shared ownership of "mutable buffer" types (such as using `Rc<Vec<T>>` instead of `Rc<[T]>`), I noticed a type exported from rustc_ast and used by clippy gets caught by the lint. This PR fixes the exported type.

This PR includes the actual change to clippy too, but I will open a PR directly against clippy for that part (although it will currently fail to build there).
@rust-highfive
Copy link

r? @Manishearth

(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 Oct 6, 2020
@Manishearth
Copy link
Member

r? @flip1995 just in case you also have sync plans

@rust-highfive rust-highfive assigned flip1995 and unassigned Manishearth Oct 6, 2020
@Manishearth
Copy link
Member

Actually, this seems fine

@bors r+

@bors
Copy link
Contributor

bors commented Oct 6, 2020

📌 Commit 18db93d has been approved by Manishearth

@bors
Copy link
Contributor

bors commented Oct 6, 2020

⌛ Testing commit 18db93d with merge bc0251c...

bors added a commit that referenced this pull request Oct 6, 2020
Sync from rust

Not much to say here, other than it includes an update for a breaking change from rustc_ast

changelog: none
@bors
Copy link
Contributor

bors commented Oct 6, 2020

💔 Test failed - checks-action_test

@flip1995 flip1995 mentioned this pull request Oct 6, 2020
@flip1995
Copy link
Member

flip1995 commented Oct 6, 2020

Thanks for syncing. Between the sync and the bors run was another breakage. I resynced and opened #6126. Help in the sync process is always welcome though!

@flip1995 flip1995 closed this Oct 6, 2020
bors added a commit that referenced this pull request Oct 6, 2020
Rustup

Supersedes #6121. There was another breakage.

r? `@ghost`

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants