rust/tests/incremental/auxiliary/circular-dependencies-aux.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
283 B
Rust
Raw Normal View History

//@ edition: 2021
//@ compile-flags: --crate-type lib --extern circular_dependencies={{build-base}}/circular-dependencies/libcircular_dependencies.rmeta --emit dep-info,metadata
use circular_dependencies::Foo;
pub fn consume_foo(_: Foo) {}
pub fn produce_foo() -> Foo {
Foo
}