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
master
rust/tests/rustdoc/primitive/primitive-generic-impl.rs

9 lines
238 B
Rust
Raw Permalink Normal View History

Update tests for rustc_doc_primitive
2023-03-21 16:44:06 +01:00
#![feature(rustc_attrs)]
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"]
Update `tests/rustdoc` to new test syntax
2024-06-21 14:03:08 +02:00
//@ has foo/primitive.i32.html '//*[@id="impl-ToString-for-T"]//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
Update tests for rustc_doc_primitive
2023-03-21 16:44:06 +01:00
#[rustc_doc_primitive = "i32"]
Fix primitive blanket impls not showing up
2018-07-29 16:30:39 +02:00
/// Some useless docs, wouhou!
mod i32 {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 983ms 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