Commit 1a3faba
authored
test(lint): redact more due to line got omitted (#16391)
### What does this PR try to resolve?
```
---- expected: tests/testsuite/lints/implicit_minimum_version_req.rs:716:27
++++ actual: stderr
1 1 | [WARNING] dependency version requirement without an explicit minimum version
2 2 | --> Cargo.toml:7:[..]
3 3 | |
4 - 7 | bar = { git = '[ROOTURL]/bar', version = "0.1" }
4 + 7 | ...known-linux-gnu/tmp/cit/t2182/bar', version = "0.1" }
5 5 | | [..]^^^^^ missing full version components
6 6 | |
7 7 | [HELP] consider specifying full `major.minor.patch` version components
8 8 | |
9 9 | 7 | bar = { git = '[ROOTURL]/bar', version = "0.1.0" }
10 10 | | [..]++
11 11 | = [NOTE] `cargo::implicit_minimum_version_req` is set to `warn` in `[lints]`
12 12 | [UPDATING] git repository `[ROOTURL]/bar`
13 13 | [LOCKING] 1 package to latest compatible version
14 14 | [CHECKING] bar v0.1.0 ([ROOTURL]/bar#[..])
15 15 | [CHECKING] foo v0.0.0 ([ROOT]/foo)
16 16 | [FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
```
See
rust-lang/rust#149934 (comment)
### How to test and review this PR?
r? Muscraft
I wonder if annotate-snippets already has a way to control not omitting
for tests (or that is not worthy).1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
721 | | - | |
| 720 | + | |
| 721 | + | |
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
| |||
0 commit comments