Skip to content

Commit 4daf918

Browse files
committed
rustc_tools_util: bump version
1 parent 6b8c6f6 commit 4daf918

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

rustc_tools_util/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustc_tools_util"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
description = "small helper to generate version information for git packages"
55
repository = "https://github.com/rust-lang/rust-clippy"
66
readme = "README.md"

rustc_tools_util/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ mod test {
178178
fn test_struct_local() {
179179
let vi = get_version_info!();
180180
assert_eq!(vi.major, 0);
181-
assert_eq!(vi.minor, 3);
181+
assert_eq!(vi.minor, 4);
182182
assert_eq!(vi.patch, 0);
183183
assert_eq!(vi.crate_name, "rustc_tools_util");
184184
// hard to make positive tests for these since they will always change
@@ -189,7 +189,7 @@ mod test {
189189
#[test]
190190
fn test_display_local() {
191191
let vi = get_version_info!();
192-
assert_eq!(vi.to_string(), "rustc_tools_util 0.3.0");
192+
assert_eq!(vi.to_string(), "rustc_tools_util 0.4.0");
193193
}
194194

195195
#[test]
@@ -198,7 +198,7 @@ mod test {
198198
let s = format!("{vi:?}");
199199
assert_eq!(
200200
s,
201-
"VersionInfo { crate_name: \"rustc_tools_util\", major: 0, minor: 3, patch: 0 }"
201+
"VersionInfo { crate_name: \"rustc_tools_util\", major: 0, minor: 4, patch: 0 }"
202202
);
203203
}
204204
}

0 commit comments

Comments
 (0)