Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
f40aa598e97465feb753abbb18268a368ef0118e
rust/tests/rustdoc/primitive/primitive-generic-impl.rs

9 lines
241 B
Rust
Raw Normal View History

Fix warnings in rustdoc HTML tests Now that compiletest denies warnings in these tests, they need fixing!
2021-11-26 15:03:16 -08:00
#![feature(rustdoc_internals)]
Remove unnecessary use of `include!` in rustdoc test Using `include!` shouldn't affect the test. It was only added because: > I replicated how it was performed in libstd. Since it's the main > target of this fix, I thought it was the best way. <https://github.com/rust-lang/rust/pull/52827/files#r207647331> But it's unnecessary and adds unnecessary indirection.
2021-11-26 15:31:38 -08:00
#![crate_name = "foo"]
rustdoc: update test cases now that code-header is used without in-band
2022-09-25 13:52:26 -07:00
// @has foo/primitive.i32.html '//*[@id="impl-ToString-for-i32"]//h3[@class="code-header"]' 'impl<T> ToString for T'
Fix warnings in rustdoc HTML tests Now that compiletest denies warnings in these tests, they need fixing!
2021-11-26 15:03:16 -08:00
Fix primitive blanket impls not showing up
2018-07-29 16:30:39 +02:00
#[doc(primitive = "i32")]
/// Some useless docs, wouhou!
mod i32 {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1182ms Template: 4ms
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