Commit graph

71 commits

Author SHA1 Message Date
Philipp Krones
4cb05193fb
Merge commit '371120bdbf' into clippyup 2023-05-05 17:45:49 +02:00
Philipp Krones
4beb0a4bdf
Merge commit 'a3ed905928' into clippyup 2023-04-23 13:28:56 +02:00
Philipp Krones
0ca8ae5edd
Merge commit '83e42a2337' into clippyup 2023-04-11 15:31:08 +02:00
Trevor Gross
dc4ba57566 Stabilize a portion of 'once_cell'
Move items not part of this stabilization to 'lazy_cell' or 'once_cell_try'
2023-03-29 18:04:44 -04:00
Jason Newcomb
4a2de63ae3 Merge commit '149392b0ba' into clippyup 2023-02-25 19:28:50 -05:00
Philipp Krones
0be5779e7d
Merge commit '0f7558148c' into clippyup 2023-02-10 14:01:19 +01:00
Philipp Krones
01c75848eb
Merge commit '7f27e2e74e' into clippyup 2023-01-12 19:48:13 +01:00
Philipp Krones
ebf579932d
Merge commit 'd822110d3b' into clippyup 2022-12-01 18:29:38 +01:00
Matthias Krüger
f360686ed6
Rollup merge of #104873 - RalfJung:therefore, r=Dylan-DPC
RefCell::get_mut: fix typo

and fix the same typo in a bunch of other places
2022-11-25 10:44:40 +01:00
Ralf Jung
6ed4f15940 RefCell::get_mut: fix typo
and fix the same typo in a bunch of other places
2022-11-25 08:52:06 +01:00
Philipp Krones
ddf055ad07
Merge commit 'f4850f7292' into clippyup 2022-11-21 20:51:52 +01:00
flip1995
da9755b6ba
Merge commit '4f142aa105' into clippyup 2022-10-23 15:18:45 +02:00
Philipp Krones
27f2f0a04e
Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
Pietro Albini
3975d55d98
remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
David Koloski
0650c4078c Merge commit '7248d06384' into sync-from-clippy 2022-09-21 13:13:27 -04:00
est31
37dde3fb58 Fix clippy 2022-09-15 21:21:18 +02:00
Philipp Krones
ce03f15bfd
Merge commit 'b52fb5234c' into clippyup 2022-09-09 13:36:26 +02:00
Jason Newcomb
0126f7f3a9 Allow lint passes to be bound by TyCtxt 2022-09-06 14:23:03 -04:00
Jason Newcomb
9a677674b3 Merge commit 'f51aade56f' into clippyup 2022-08-31 09:24:45 -04:00
Nilstrieb
d1ef8180f9 Revert let_chains stabilization
This reverts commit 3266460749.

This is the revert against master, the beta revert was already done in #100538.
2022-08-29 19:34:11 +02:00
Mark Rousskov
154a09dd91 Adjust cfgs 2022-08-12 16:28:15 -04:00
Philipp Krones
ad76883ff9
Merge commit '2b2190cb56' into clippyup 2022-08-11 19:42:16 +02:00
Philipp Krones
7a782537b1
Merge commit '3c7e7dbc15' into clippyup 2022-07-28 19:08:22 +02:00
Philipp Krones
7fab8a4016
Merge commit 'fdb84cbfd2' into clippyup 2022-07-18 09:39:37 +02:00
Caio
3266460749 Stabilize let_chains 2022-07-16 20:17:58 -03:00
Philipp Krones
721d53a54f
Merge commit '0cb0f76368' into clippyup 2022-06-30 10:50:09 +02:00
Matthias Krüger
f351f347b8
Rollup merge of #98165 - WaffleLapkin:once_things_renamings, r=m-ou-se
once cell renamings

This PR does the renamings proposed in https://github.com/rust-lang/rust/issues/74465#issuecomment-1153703128

- Move/rename `lazy::{OnceCell, Lazy}` to `cell::{OnceCell, LazyCell}`
- Move/rename `lazy::{SyncOnceCell, SyncLazy}` to `sync::{OnceLock, LazyLock}`

(I used `Lazy...` instead of `...Lazy` as it seems to be more consistent, easier to pronounce, etc)

```@rustbot``` label +T-libs-api -T-libs
2022-06-19 00:17:13 +02:00
Maybe Waffle
c1a2db3372 Move/rename lazy::Sync{OnceCell,Lazy} to sync::{Once,Lazy}Lock 2022-06-16 19:54:42 +04:00
flip1995
7f605496e7
Merge commit 'd7b5cbf065' into clippyup 2022-06-16 17:39:06 +02:00
Philipp Krones
d55c373ddd
Merge commit 'd9ddce8a22' into clippyup 2022-06-04 13:34:07 +02:00
xFrednet
13cc27b445
Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00
flip1995
496384531e
Merge commit '7c21f91b15' into clippyup 2022-05-05 15:12:52 +01:00
flip1995
b590d5cc9f
Update Cargo.lock 2022-04-08 10:41:55 +01:00
flip1995
515e2a2cda
Merge commit '984330a6ee' into clippyup 2022-04-08 10:06:10 +01:00
pierwill
f684acdd7e Update itertools
Update to 0.10.1
2022-03-04 11:54:28 -06:00
flip1995
78ae132d5b
Merge commit '57b3c4b90f' into clippyup 2022-02-10 18:40:06 +01:00
flip1995
cce9231c19
Merge commit 'a98e7ab8b9' into clippyup 2022-01-27 15:12:45 +01:00
flip1995
ba66384447
Merge commit '97a5daa659' into clippyup 2022-01-13 13:18:19 +01:00
flip1995
f004a1b3fd
Merge commit 'a5d597637d' into clippyup 2021-12-06 12:33:31 +01:00
flip1995
4d6c2cce0a
Merge commit 'e181011378' into clippyup 2021-11-04 12:52:36 +00:00
flip1995
9af8e378b9
Merge commit '91496c2ac6' into clippyup 2021-10-21 13:11:36 +02:00
flip1995
333a06af42
Merge commit 'b7f3f7f608' into clippyup 2021-10-07 11:21:30 +02:00
flip1995
d0fb9db648
Merge commit 'cb7915b00c' into clippyup 2021-09-28 18:03:12 +01:00
Samuel E. Moelius III
a628223d45 Update dependencies 2021-09-09 07:47:16 -04:00
flip1995
7636fbce7e
Merge commit '27afd6ade4' into clippyup 2021-09-08 16:31:47 +02:00
Jade
3cf820e17d rfc3052: Remove authors field from Cargo manifests
Since RFC 3052 soft deprecated the authors field anyway, hiding it from
crates.io, docs.rs, and making Cargo not add it by default, and it is
not generally up to date/useful information, we should remove it from
crates in this repo.
2021-07-29 14:56:05 -07:00
flip1995
72d655b5b6
Merge commit '0cce3f643b' into clippyup 2021-07-29 12:16:06 +02:00
flip1995
1a385b80dc
Merge commit '61eb38aeda' into clippyup 2021-07-01 18:17:38 +02:00
flip1995
14f55fa749
Merge commit '9e3cd88718' into clippyup 2021-05-20 13:07:57 +02:00
Joshua Nelson
8c25e27f16 Implement x.py test src/tools/clippy --bless
- Add clippy_dev to the rust workspace

  Before, it would give an error that it wasn't either included or
  excluded from the workspace:

  ```
  error: current package believes it's in a workspace when it's not:
  current:   /home/joshua/rustc/src/tools/clippy/clippy_dev/Cargo.toml
  workspace: /home/joshua/rustc/Cargo.toml

  this may be fixable by adding `src/tools/clippy/clippy_dev` to the `workspace.members` array of the manifest located at: /home/joshua/rustc/Cargo.toml
  Alternatively, to keep it out of the workspace, add the package to the `workspace.exclude` array, or add an empty `[workspace]` table to the package's manifest.
  ```

- Change clippy's copy of compiletest not to special-case
  rust-lang/rust. Using OUT_DIR confused `clippy_dev` and it couldn't find
  the test outputs. This is one of the reasons why `cargo dev bless` used
  to silently do nothing (the others were that `CARGO_TARGET_DIR` and
  `PROFILE` weren't set appropriately).

- Run clippy_dev on test failure

I tested this by removing a couple lines from a stderr file, and they
were correctly replaced.

- Fix clippy_dev warnings
2021-04-27 16:57:29 +00:00