mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
18 lines
232 B
Rust
18 lines
232 B
Rust
// Attributes on extern crate.
|
|
|
|
extern crate Foo;
|
|
#[Attr1]
|
|
extern crate Bar;
|
|
#[Attr2]
|
|
#[Attr2]
|
|
extern crate Baz;
|
|
|
|
fn foo() {
|
|
extern crate Foo;
|
|
#[Attr1]
|
|
extern crate Bar;
|
|
#[Attr2]
|
|
#[Attr2]
|
|
extern crate Baz;
|
|
}
|