Previously the [src] link on types defined by a macro pointed to the macro definition. This commit makes the Clean-Implementation for Spans aware of macro defined types, so that the link points to the invocation instead.
11 lines
300 B
Rust
11 lines
300 B
Rust
// aux-build:issue-26606-macro.rs
|
|
// ignore-cross-compile
|
|
// build-aux-docs
|
|
|
|
// @has issue_26606_macro/macro.make_item.html
|
|
#[macro_use]
|
|
extern crate issue_26606_macro;
|
|
|
|
// @has issue_26606/constant.FOO.html
|
|
// @has - '//a[@href="../src/issue_26606/issue-26606.rs.html#11"]' '[src]'
|
|
make_item!(FOO);
|