Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
unused-crate-deps
/
test-use-ok.rs
blob: 66d6440c9cb9fb9f332af2cdac0e14fdbffd3ecf [
file
] [
log
] [
blame
]
// Test-only use OK
// edition:2018
// check-pass
// aux-crate:bar=bar.rs
// compile-flags:--test
#![
deny
(
unused_crate_dependencies
)]
fn
main
()
{}
#[
test
]
fn
test_bar
()
{
assert_eq
!(
bar
::
BAR
,
"bar"
);
}