Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
a77cc64af491a31db224109a76b9b81cd26cd07c
rust/src/test/rustdoc/issue-26606.rs

12 lines
300 B
Rust
Raw Normal View History

Omit src-links for items from extern macros If the span of a local item points into an external macro its source-file will be bogus.
2016-02-12 21:08:02 +01:00
// aux-build:issue-26606-macro.rs
// ignore-cross-compile
// build-aux-docs
rustdoc: remove the `!` from macro URLs and titles
2016-08-03 12:55:01 +12:00
// @has issue_26606_macro/macro.make_item.html
Omit src-links for items from extern macros If the span of a local item points into an external macro its source-file will be bogus.
2016-02-12 21:08:02 +01:00
#[macro_use]
extern crate issue_26606_macro;
// @has issue_26606/constant.FOO.html
(rustdoc) [src] link for types defined by macros shows invocation 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.
2020-11-09 19:58:19 +01:00
// @has - '//a[@href="../src/issue_26606/issue-26606.rs.html#11"]' '[src]'
Omit src-links for items from extern macros If the span of a local item points into an external macro its source-file will be bogus.
2016-02-12 21:08:02 +01:00
make_item!(FOO);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1017ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API