mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
11 lines
283 B
Rust
11 lines
283 B
Rust
//@ 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
|
|
}
|