mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-24 08:22:25 +00:00
11 lines
248 B
Rust
11 lines
248 B
Rust
#![crate_name = "foo"]
|
|
#![crate_type = "rlib"]
|
|
|
|
extern crate dependency;
|
|
pub use dependency::{Trait2, Type, do_something_trait, do_something_type};
|
|
pub struct OtherType;
|
|
impl dependency::Trait for OtherType {
|
|
fn foo(&self) {}
|
|
fn bar() {}
|
|
}
|