about summary refs log tree commit diff
path: root/tests/incremental/auxiliary/circular-dependencies-aux.rs
blob: e28a6a2ca0e01229239ebcb93401c8cbda3308b5 (plain)
1
2
3
4
5
6
7
8
9
10
//@ 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
}