We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12d6e84 commit 75e7b41Copy full SHA for 75e7b41
tests/testsuite/pub_priv.rs
@@ -37,15 +37,9 @@ fn exported_priv_warning() {
37
38
p.cargo("build --message-format=short")
39
.masquerade_as_nightly_cargo()
40
- .with_stderr(
+ .with_stderr_contains(
41
"\
42
-[UPDATING] `[..]` index
43
-[DOWNLOADING] crates ...
44
-[DOWNLOADED] priv_dep v0.1.0 ([..])
45
-[COMPILING] priv_dep v0.1.0
46
-[COMPILING] foo v0.0.1 ([CWD])
47
src/lib.rs:3:13: warning: type `priv_dep::FromPriv` from private dependency 'priv_dep' in public interface
48
-[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
49
"
50
)
51
.run()
0 commit comments