Skip to content

Commit d723d8e

Browse files
authored
Update to Rust 1.95 (#128)
1 parent aaa9244 commit d723d8e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.94-slim AS base
1+
FROM rust:1.95-slim AS base
22

33
WORKDIR /analyzer
44

@@ -7,7 +7,7 @@ COPY . .
77
RUN cargo build --release
88

99
# cargo-local-registry stuff is copied from the test runner
10-
FROM rust:1.94 AS build-cargo-local-registry
10+
FROM rust:1.95 AS build-cargo-local-registry
1111

1212
# install cargo-local-registry
1313
RUN cargo install --locked cargo-local-registry
@@ -16,7 +16,7 @@ WORKDIR /local-registry
1616
COPY local-registry/* ./
1717
RUN cargo generate-lockfile && cargo local-registry --sync Cargo.lock .
1818

19-
FROM rust:1.94-slim
19+
FROM rust:1.95-slim
2020

2121
WORKDIR /opt/analyzer
2222

snippets/two_comments/expected_analysis.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{
1111
"comment": "rust.general.clippy",
1212
"params": {
13-
"clippy_msg": "warning: unneeded `return` statement\n --> src/lib.rs:2:5\n |\n2 | return --x;\n | ^^^^^^^^^^\n |\n = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#needless_return\n = note: `#[warn(clippy::needless_return)]` on by default\nhelp: remove `return`\n |\n2 - return --x;\n2 + --x\n |"
13+
"clippy_msg": "warning: unneeded `return` statement\n --> src/lib.rs:2:5\n |\n2 | return --x;\n | ^^^^^^^^^^\n |\n = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#needless_return\n = note: `#[warn(clippy::needless_return)]` on by default\nhelp: remove `return`\n |\n2 - return --x;\n2 + --x\n |"
1414
},
1515
"type": "informative"
1616
}

0 commit comments

Comments
 (0)