Skip to content

Commit c0fa18f

Browse files
authored
Bump to nightly-2025-08-06 and rustdoc types 55 (#233)
* Bump to nightly-2025-08-06 and rustdoc types 55 * Fix clippy lint * Bump minor version
1 parent b9ae948 commit c0fa18f

7 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
RUSTFLAGS: -Dwarnings
1515
RUSTDOCFLAGS: -Dwarnings
1616
RUST_BACKTRACE: 1
17-
rust_version: nightly-2025-05-04
17+
rust_version: nightly-2025-08-06
1818

1919
jobs:
2020
fmt:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
target
22
/.idea
3+
.vscode/

Cargo.lock

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-check-external-types"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "John DiSanti <jdisanti@amazon.com>"]
55
description = "Static analysis tool to detect external types exposed in a library's public API."
66
edition = "2021"
@@ -13,7 +13,7 @@ cargo_metadata = "0.19"
1313
clap = { version = "4.4.18", features = ["derive"] }
1414
owo-colors = { version = "4", features = ["supports-colors"] }
1515
pest = "2" # For pretty error formatting
16-
rustdoc-types = "0.41"
16+
rustdoc-types = "0.55"
1717
serde = { version = "1", features = ["derive"] }
1818
serde_json = "1"
1919
toml = "0.8"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ How to Use
3939
_Important:_ This tool requires a nightly build of Rust to be installed since it
4040
relies on the [rustdoc JSON
4141
output](https://github.com/rust-lang/rust/issues/76578), which hasn't been
42-
stabilized yet. The `main` branch was last tested against `nightly-2025-05-04`.
42+
stabilized yet. The `main` branch was last tested against `nightly-2025-08-06`.
4343
For info on what nightly version a specific release depends on, see the
4444
[releases](https://github.com/awslabs/cargo-check-external-types/releases) page.
4545

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "nightly-2025-05-04"
2+
channel = "nightly-2025-08-06"

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ impl ErrorPrinter {
522522
}
523523
}
524524

525-
fn position_from_line_col(contents: &str, (line, col): (usize, usize)) -> Option<Position> {
525+
fn position_from_line_col(contents: &str, (line, col): (usize, usize)) -> Option<Position<'_>> {
526526
let (mut cl, mut cc) = (1, 1);
527527
let content_bytes = contents.as_bytes();
528528
for (index, &byte) in content_bytes.iter().enumerate() {

0 commit comments

Comments
 (0)