Skip to content

Commit

Permalink
Upgrade examples
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Oct 21, 2024
1 parent 85fddd0 commit 001c974
Show file tree
Hide file tree
Showing 23 changed files with 49 additions and 67 deletions.
8 changes: 4 additions & 4 deletions examples/experimental/derive_opportunity/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/experimental/derive_opportunity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ name = "ui_ignore"
path = "ui_ignore/main.rs"

[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a95afe2d0a2051d97b723b0b197393b7811bc4e4" }
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a109190d7060236e655fc75533373fa274ec5343" }
once_cell = "1.20"
serde = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion examples/experimental/derive_opportunity/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2024-09-05"
channel = "nightly-2024-10-18"
components = ["llvm-tools-preview", "rustc-dev"]
8 changes: 4 additions & 4 deletions examples/experimental/missing_doc_comment_openai/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ publish = false
crate-type = ["cdylib"]

[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a95afe2d0a2051d97b723b0b197393b7811bc4e4" }
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a109190d7060236e655fc75533373fa274ec5343" }
curl = "0.4"
serde = "1.0"
serde_json = "1.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2024-09-05"
channel = "nightly-2024-10-18"
components = ["llvm-tools-preview", "rustc-dev"]
8 changes: 4 additions & 4 deletions examples/general/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/general/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ members = [
]

[workspace.dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a95afe2d0a2051d97b723b0b197393b7811bc4e4" }
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a109190d7060236e655fc75533373fa274ec5343" }

[workspace.lints.rust.unexpected_cfgs]
level = "deny"
Expand Down
2 changes: 1 addition & 1 deletion examples/general/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2024-09-05"
channel = "nightly-2024-10-18"
components = ["llvm-tools-preview", "rustc-dev"]
8 changes: 4 additions & 4 deletions examples/restriction/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/restriction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ members = [
resolver = "2"

[workspace.dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a95afe2d0a2051d97b723b0b197393b7811bc4e4" }
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a109190d7060236e655fc75533373fa274ec5343" }

[workspace.lints.rust.unexpected_cfgs]
level = "deny"
Expand Down
2 changes: 1 addition & 1 deletion examples/restriction/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2024-09-05"
channel = "nightly-2024-10-18"
components = ["llvm-tools-preview", "rustc-dev"]
8 changes: 4 additions & 4 deletions examples/supplementary/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/supplementary/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ members = [
]

[workspace.dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a95afe2d0a2051d97b723b0b197393b7811bc4e4" }
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a109190d7060236e655fc75533373fa274ec5343" }

[workspace.lints.rust.unexpected_cfgs]
level = "deny"
Expand Down
2 changes: 1 addition & 1 deletion examples/supplementary/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2024-09-05"
channel = "nightly-2024-10-18"
components = ["llvm-tools-preview", "rustc-dev"]
23 changes: 6 additions & 17 deletions examples/testing/clippy/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions examples/testing/clippy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ publish = false
crate-type = ["cdylib"]

[dependencies]
clippy_config = { git = "https://github.com/rust-lang/rust-clippy", rev = "a95afe2d0a2051d97b723b0b197393b7811bc4e4" }
clippy_lints = { git = "https://github.com/rust-lang/rust-clippy", rev = "a95afe2d0a2051d97b723b0b197393b7811bc4e4" }
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a95afe2d0a2051d97b723b0b197393b7811bc4e4" }
clippy_config = { git = "https://github.com/rust-lang/rust-clippy", rev = "a109190d7060236e655fc75533373fa274ec5343" }
clippy_lints = { git = "https://github.com/rust-lang/rust-clippy", rev = "a109190d7060236e655fc75533373fa274ec5343" }
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a109190d7060236e655fc75533373fa274ec5343" }
serde_json = "1.0"

dylint_internal = { path = "../../../internal" }
Expand Down
2 changes: 1 addition & 1 deletion examples/testing/clippy/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2024-09-05"
channel = "nightly-2024-10-18"
# smoelius: The `or_fun_call` test passes only if `rust-src` is installed.
# smoelius: `rust-src` no longer seems to be necessary.
components = ["llvm-tools-preview", "rustc-dev"]
17 changes: 5 additions & 12 deletions examples/testing/straggler/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/testing/straggler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib"]

[dependencies]
# smoelius: `straggler` is intentionally held back for testing purposes.
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "37f4fbb92913586b73a35772efd00eccd1cbbe13" }
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a95afe2d0a2051d97b723b0b197393b7811bc4e4" }

dylint_linting = { path = "../../../utils/linting" }

Expand Down
2 changes: 1 addition & 1 deletion examples/testing/straggler/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
# smoelius: `straggler` is intentionally held back for testing purposes.
channel = "nightly-2024-07-25"
channel = "nightly-2024-09-05"
components = ["llvm-tools-preview", "rustc-dev"]
2 changes: 1 addition & 1 deletion internal/template/Cargo.toml~
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ publish = false
crate-type = ["cdylib"]

[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a95afe2d0a2051d97b723b0b197393b7811bc4e4" }
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a109190d7060236e655fc75533373fa274ec5343" }
dylint_linting = "3.2.1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion internal/template/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2024-09-05"
channel = "nightly-2024-10-18"
components = ["llvm-tools-preview", "rustc-dev"]

0 comments on commit 001c974

Please sign in to comment.