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
edeee915b1c52f97411e57ef6b1a8bd46548a37a
rust/src/test/rustdoc-ui/deprecated-attrs.rs

8 lines
117 B
Rust
Raw Normal View History

Moving all rustdoc-ui tests to check-pass These were all build-pass before and don't seem to need it. Helps with #62277
2020-04-19 16:40:53 -07:00
// check-pass
add ui test for rustdoc's deprecated attributes
2018-04-22 20:26:54 -05:00
Remove deleted pass from rustdoc test suite `src/test/rustdoc-ui/deprecated-attrs.rs` tells rustdoc to run the `collapse-docs` pass, which no longer exists (it was removed in https://github.com/rust-lang/rust/pull/80261). Rustdoc doesn't actually give a proper diagnostic here; instead it prints an `error!` log. Now that tracing is compiled unconditionally, the log is now being emitted by default, because it's at the error level. rustdoc shouldn't be using `error!` logging for diagnostics in the first place, but in the meantime this change gets the testsuite to pass.
2021-02-28 21:59:43 -05:00
#![doc(no_default_passes, passes = "unindent-comments")]
add ui test for rustdoc's deprecated attributes
2018-04-22 20:26:54 -05:00
struct SomeStruct;
pub struct OtherStruct;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1988ms 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