rust/tests
bors 6bbee5c584 Auto merge of #7217 - xFrednet:7172-metadata-collection-cargo-alias, r=flip1995
Add `cargo collect-metadata` as an cargo alias for the metadata collection lint

This PR adds a new alias to run the metadata collection monster on `clippy_lints`. I'm currently using it to create the `metadata_collection.json` file and I plan to use it in the `deply.sh` script. Having it as a new alias enables us to simply use:

```sh
cargo collect-metadata
```

It sometimes requires running `cargo clean` before collecting the metadata due to caching. I'm still debating if I should include a cargo clean as part of the `run_metadata_collection_lint` test or not. Input on this would be greatly appreciated 🙃

That's it, just a small change that can be reviewed and merged in parallel to #7214.

---

See: #7172 for the full metadata collection to-do list or to suggest a new feature in connection to it.

---

changelog: none

r? `@flip1995` btw. feel free to pass these PRs one to other team members as well if you want.
2021-05-16 16:57:15 +00:00
..
auxiliary
cargo
ui Add sized trait for wrong_self_convention lint test 2021-05-13 23:28:40 +02:00
ui-cargo
ui-internal Metadata collection: Rounding up the implementation 2021-05-05 18:38:26 +02:00
ui-toml Fix error punctuation 2021-05-02 16:56:46 -05:00
compile-test.rs
dogfood.rs Added cargo collect-metadata as a alias for the metadata collection lint 2021-05-13 01:41:22 +02:00
fmt.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs