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
58e901b6fd1163172149fd422565523b17eed5f0
rust/tests/rustdoc/thread-local-src.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
249 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
#![crate_name = "foo"]
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/thread-local-src.rs.html#1-6"]' '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 source links look cleaner Change from syntaxy-looking [src] to the plain word "source".
2021-12-03 17:09:04 -08:00
// @has foo/constant.FOO.html '//a[@href="../src/foo/thread-local-src.rs.html#6"]' '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
thread_local!(pub static FOO: bool = false);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 532ms Template: 1ms
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