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

Adds lint for Vec<Box<T: Sized>> #3545

Merged
merged 6 commits into from
Dec 14, 2018
Merged

Conversation

Kampfkarren
Copy link
Contributor

@Kampfkarren Kampfkarren commented Dec 13, 2018

This adds, and subsequently closes #3530. This is the first time I've ever worked with anything remotely close to internal Rust code, so I'm very much unsure about the if_chain! to figure this out!

I can't get rustfmt working on WSL with nightly 2018-12-07:

error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download

@mati865
Copy link
Contributor

mati865 commented Dec 13, 2018

Travis error:

Not all lints defined properly. Please run `util/dev update_lints` to make sure all lints are defined properly.

clippy_lints/src/types.rs Outdated Show resolved Hide resolved
@flip1995
Copy link
Member

Yeah the current nightly doesn't have rustfmt. (Also Clippy and rls are missing)

Just wait for the next nightly (or use a previous one).

A good website to check the availability of tools in the latest nightlies is https://mexus.github.io/rustup-components-history/

clippy_lints/src/types.rs Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
clippy_lints/src/types.rs Outdated Show resolved Hide resolved
@Kampfkarren
Copy link
Contributor Author

All issues brought up so far have been addressed.

@flip1995
Copy link
Member

Thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Dec 14, 2018

📌 Commit 985eba0 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Dec 14, 2018

⌛ Testing commit 985eba0 with merge cd74191...

bors added a commit that referenced this pull request Dec 14, 2018
Adds lint for Vec<Box<T: Sized>>

This adds, and subsequently closes #3530. This is the first time I've ever worked with anything remotely close to internal Rust code, so I'm very much unsure about the if_chain! to figure this out!

I can't get rustfmt working on WSL with nightly 2018-12-07:

`error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download`
@bors
Copy link
Contributor

bors commented Dec 14, 2018

💔 Test failed - status-appveyor

@phansch
Copy link
Member

phansch commented Dec 14, 2018

@bors retry (I guess this will start bors once #3549 is merged and should be fine then?)

@bors
Copy link
Contributor

bors commented Dec 14, 2018

⌛ Testing commit 985eba0 with merge a416c5e...

bors added a commit that referenced this pull request Dec 14, 2018
Adds lint for Vec<Box<T: Sized>>

This adds, and subsequently closes #3530. This is the first time I've ever worked with anything remotely close to internal Rust code, so I'm very much unsure about the if_chain! to figure this out!

I can't get rustfmt working on WSL with nightly 2018-12-07:

`error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download`
@bors
Copy link
Contributor

bors commented Dec 14, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: flip1995
Pushing a416c5e to master...

@bors bors merged commit 985eba0 into rust-lang:master Dec 14, 2018
@Kampfkarren Kampfkarren deleted the vec_boxed_sized branch December 14, 2018 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warn for Vec<Box<T>> where T: Sized
8 participants