Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
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"
);
}