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
cf2dff2b1e3fa55fa5415d524200070d0d7aacfe
rust/tests/rustdoc/external-macro-src.rs

13 lines
314 B
Rust
Raw Normal View History

rustdoc: Don't try to load source files from external crates Local items defined in external macros shouldn't generate rendered source files and should link to the external crate's docs instead.
2020-04-05 22:37:06 +01:00
// aux-build:external-macro-src.rs
#![crate_name = "foo"]
#[macro_use]
extern crate external_macro_src;
Make source links look cleaner Change from syntaxy-looking [src] to the plain word "source".
2021-12-03 17:09:04 -08:00
// @has foo/index.html '//a[@href="../src/foo/external-macro-src.rs.html#3-12"]' 'source'
rustdoc: Don't try to load source files from external crates Local items defined in external macros shouldn't generate rendered source files and should link to the external crate's docs instead.
2020-04-05 22:37:06 +01:00
// @has foo/struct.Foo.html
Make source links look cleaner Change from syntaxy-looking [src] to the plain word "source".
2021-12-03 17:09:04 -08:00
// @has - '//a[@href="../src/foo/external-macro-src.rs.html#12"]' 'source'
rustdoc: Don't try to load source files from external crates Local items defined in external macros shouldn't generate rendered source files and should link to the external crate's docs instead.
2020-04-05 22:37:06 +01:00
make_foo!();
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 587ms Template: 2ms
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