Skip to content

Commit f3eb177

Browse files
committed
Add a manifest location to public-in-private errors
1 parent 471f0ed commit f3eb177

File tree

4 files changed

+334
-44
lines changed

4 files changed

+334
-44
lines changed

src/cargo/core/compiler/build_context/target_info.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,6 +1105,10 @@ impl<'gctx> RustcTargetData<'gctx> {
11051105
}
11061106
unsupported
11071107
}
1108+
1109+
pub fn requested_kinds(&self) -> &[CompileKind] {
1110+
&self.requested_kinds
1111+
}
11081112
}
11091113

11101114
/// Structure used to deal with Rustdoc fingerprinting

0 commit comments

Comments
 (0)