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
fd1a263fc7029b06a8f041feadbcc85c65b0a6e8
rust/tests/rustdoc/foreign-implementors-js-43701.rs

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

7 lines
144 B
Rust
Raw Normal View History

Add URL to test cases
2023-11-20 11:50:25 -07:00
// https://github.com/rust-lang/rust/issues/43701
rustdoc: Don't add external impls to implementors js Otherwise impls from not documented crates appear.
2017-08-08 12:22:48 +01:00
#![crate_name = "foo"]
pub use std::vec::Vec;
rustdoc: rename `/implementors` to `/impl.trait` This is shorter, avoids potential conflicts with a crate named `implementors`[^1], and will be less confusing when JS include files are added for type aliases. [^1]: AFAIK, this couldn't actually cause any problems right now, but it's simpler just to make it impossible than relying on never having a file named `trait.Foo.js` in the crate data area.
2023-10-05 18:44:40 -07:00
// @!has trait.impl/core/clone/trait.Clone.js
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1185ms 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