mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
16 lines
341 B
Rust
16 lines
341 B
Rust
//@ aux-build:jump-to-def-macro.rs
|
|
//@ build-aux-docs
|
|
//@ compile-flags: -Zunstable-options --generate-link-to-definition
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
//@ has 'src/foo/jump-to-def-macro.rs.html'
|
|
|
|
#[macro_use]
|
|
extern crate jump_to_def_macro;
|
|
|
|
//@ has - '//a[@href="../../jump_to_def_macro/macro.symbols.html"]' 'symbols!'
|
|
symbols! {
|
|
A = 12
|
|
}
|