Skip to content

Commit

Permalink
Auto merge of rust-lang#94673 - matthiaskrgr:rollup-2tnifg9, r=matthi…
Browse files Browse the repository at this point in the history
…askrgr

Rollup of 3 pull requests

Successful merges:

 - rust-lang#93412 (Improve rustdoc const bounds)
 - rust-lang#94617 (Update `itertools`)
 - rust-lang#94669 (Update -Z unpretty error message)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
  • Loading branch information
bors committed Mar 6, 2022
2 parents d53e195 + b7ccab4 commit a64180f
Show file tree
Hide file tree
Showing 14 changed files with 173 additions and 110 deletions.
39 changes: 15 additions & 24 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ dependencies = [
"humantime 2.0.1",
"ignore",
"im-rc",
"itertools 0.10.1",
"itertools",
"jobserver",
"lazy_static",
"lazycell",
Expand Down Expand Up @@ -442,7 +442,7 @@ dependencies = [
"flate2",
"git2",
"glob",
"itertools 0.10.1",
"itertools",
"lazy_static",
"remove_dir_all",
"serde_json",
Expand Down Expand Up @@ -560,7 +560,7 @@ dependencies = [
"chalk-ir",
"ena",
"indexmap",
"itertools 0.10.1",
"itertools",
"petgraph",
"rustc-hash",
"tracing",
Expand Down Expand Up @@ -624,7 +624,7 @@ dependencies = [
"filetime",
"futures 0.3.19",
"if_chain",
"itertools 0.10.1",
"itertools",
"num_cpus",
"parking_lot",
"quote",
Expand All @@ -647,7 +647,7 @@ dependencies = [
"cargo_metadata",
"clap 2.34.0",
"indoc",
"itertools 0.10.1",
"itertools",
"opener",
"regex",
"shell-escape",
Expand All @@ -661,7 +661,7 @@ dependencies = [
"cargo_metadata",
"clippy_utils",
"if_chain",
"itertools 0.10.1",
"itertools",
"pulldown-cmark",
"quine-mc_cluskey",
"regex-syntax",
Expand Down Expand Up @@ -1783,15 +1783,6 @@ dependencies = [
"cfg-if 1.0.0",
]

[[package]]
name = "itertools"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b"
dependencies = [
"either",
]

[[package]]
name = "itertools"
version = "0.10.1"
Expand Down Expand Up @@ -3138,7 +3129,7 @@ dependencies = [
"futures 0.3.19",
"heck",
"home",
"itertools 0.10.1",
"itertools",
"jsonrpc-core",
"lazy_static",
"log",
Expand Down Expand Up @@ -3180,7 +3171,7 @@ dependencies = [
"derive-new",
"env_logger 0.9.0",
"fst",
"itertools 0.10.1",
"itertools",
"json",
"lazy_static",
"log",
Expand Down Expand Up @@ -3411,7 +3402,7 @@ dependencies = [
name = "rustc_ast_passes"
version = "0.0.0"
dependencies = [
"itertools 0.10.1",
"itertools",
"rustc_ast",
"rustc_ast_pretty",
"rustc_attr",
Expand Down Expand Up @@ -3454,7 +3445,7 @@ name = "rustc_borrowck"
version = "0.0.0"
dependencies = [
"either",
"itertools 0.10.1",
"itertools",
"polonius-engine",
"rustc_const_eval",
"rustc_data_structures",
Expand Down Expand Up @@ -3536,7 +3527,7 @@ version = "0.0.0"
dependencies = [
"bitflags",
"cc",
"itertools 0.10.1",
"itertools",
"jobserver",
"libc",
"object 0.28.1",
Expand Down Expand Up @@ -4019,7 +4010,7 @@ name = "rustc_mir_transform"
version = "0.0.0"
dependencies = [
"coverage_test_macros",
"itertools 0.10.1",
"itertools",
"rustc_ast",
"rustc_attr",
"rustc_const_eval",
Expand Down Expand Up @@ -4419,7 +4410,7 @@ dependencies = [
"askama",
"atty",
"expect-test",
"itertools 0.10.1",
"itertools",
"minifier",
"pulldown-cmark",
"rayon",
Expand Down Expand Up @@ -4501,7 +4492,7 @@ dependencies = [
"env_logger 0.8.4",
"getopts",
"ignore",
"itertools 0.9.0",
"itertools",
"lazy_static",
"log",
"regex",
Expand Down Expand Up @@ -5181,7 +5172,7 @@ checksum = "744e9ed5b352340aa47ce033716991b5589e23781acb97cad37d4ea70560f55b"
dependencies = [
"combine",
"indexmap",
"itertools 0.10.1",
"itertools",
"kstring",
"serde",
]
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_ast_passes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.0.0"
edition = "2021"

[dependencies]
itertools = "0.10"
itertools = "0.10.1"
tracing = "0.1"
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
rustc_attr = { path = "../rustc_attr" }
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_borrowck/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ doctest = false

[dependencies]
either = "1.5.0"
itertools = "0.10"
itertools = "0.10.1"
tracing = "0.1"
polonius-engine = "0.13.0"
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_ssa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test = false
[dependencies]
bitflags = "1.2.1"
cc = "1.0.69"
itertools = "0.10"
itertools = "0.10.1"
tracing = "0.1"
libc = "0.2.50"
jobserver = "0.1.22"
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_mir_transform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
doctest = false

[dependencies]
itertools = "0.10"
itertools = "0.10.1"
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
tracing = "0.1"
rustc_ast = { path = "../rustc_ast" }
Expand Down
7 changes: 3 additions & 4 deletions compiler/rustc_session/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2628,11 +2628,10 @@ fn parse_pretty(debugging_opts: &DebuggingOptions, efmt: ErrorOutputType) -> Opt
name => early_error(
efmt,
&format!(
"argument to `unpretty` must be one of `normal`, \
`expanded`, `identified`, `expanded,identified`, \
`expanded,hygiene`, `everybody_loops`, \
"argument to `unpretty` must be one of `normal`, `identified`, \
`expanded`, `expanded,identified`, `expanded,hygiene`, \
`ast-tree`, `ast-tree,expanded`, `hir`, `hir,identified`, \
`hir,typed`, `hir-tree`, `mir` or `mir-cfg`; got {}",
`hir,typed`, `hir-tree`, `thir-tree`, `mir` or `mir-cfg`; got {}",
name
),
),
Expand Down
2 changes: 1 addition & 1 deletion src/librustdoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
smallvec = "1.6.1"
tempfile = "3"
itertools = "0.10"
itertools = "0.10.1"
regex = "1"
rustdoc-json-types = { path = "../rustdoc-json-types" }
tracing = "0.1"
Expand Down
Loading

0 comments on commit a64180f

Please sign in to comment.