Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 7 pull requests #82688

Merged
merged 23 commits into from
Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
9f1abe8
Run some rustc passes in rustdoc
GuillaumeGomez Feb 27, 2021
25e030b
Add test for rustdoc new check pass
GuillaumeGomez Feb 27, 2021
5ab4d46
Update rustdoc test to make it work with newly added rustc passes
GuillaumeGomez Feb 27, 2021
2f8fa01
Use identifier's span in unused lint
SkiFire13 Feb 28, 2021
6214ef8
Bless some tests
SkiFire13 Feb 28, 2021
65f0b25
Always compile rustdoc with debug logging enabled when `download-rust…
jyn514 Dec 28, 2020
6dc9934
Remove deleted pass from rustdoc test suite
jyn514 Mar 1, 2021
4d7a648
Remove the dummy cache in `DocContext`
jyn514 Feb 12, 2021
163b01a
Remove unused `RenderInfo` struct
jyn514 Feb 12, 2021
be069a6
Remove `krate.version`; fix `crate_version` in JSON
jyn514 Feb 25, 2021
3c63f67
Add regression test
SkiFire13 Feb 28, 2021
5a33f53
check that first arg to `panic!()` in const is `&str`
abonander Jan 5, 2021
bd51dea
Change twice used large const table to static
dtolnay Mar 1, 2021
b0b330f
Validate meta items used in \#\[doc(...)\]
GuillaumeGomez Mar 1, 2021
f6de130
Add tests for doc attribute check
GuillaumeGomez Mar 1, 2021
d20fd62
Add missing stability attributes in libstd
GuillaumeGomez Feb 27, 2021
865cf0c
Rollup merge of #80734 - abonander:ab/issue-66693, r=oli-obk
GuillaumeGomez Mar 1, 2021
22ebb86
Rollup merge of #81932 - jyn514:rustdoc-logging, r=Mark-Simulacrum
GuillaumeGomez Mar 1, 2021
b51272e
Rollup merge of #82018 - jyn514:no-dummy-cache, r=camelid,GuillaumeGomez
GuillaumeGomez Mar 1, 2021
5a82251
Rollup merge of #82598 - GuillaumeGomez:rustdoc-rustc-pass, r=jyn514
GuillaumeGomez Mar 1, 2021
d259d1d
Rollup merge of #82655 - SkiFire13:fix-issue-81314, r=estebank
GuillaumeGomez Mar 1, 2021
0c6b69a
Rollup merge of #82662 - GuillaumeGomez:doc-attr-check, r=jyn514
GuillaumeGomez Mar 1, 2021
9a0ac7c
Rollup merge of #82676 - dtolnay:powers, r=Mark-Simulacrum
GuillaumeGomez Mar 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add test for rustdoc new check pass
  • Loading branch information
GuillaumeGomez committed Feb 27, 2021
commit 25e030bc4252bd23e1bed60dfbaca8a0ce7206bb
4 changes: 4 additions & 0 deletions src/test/rustdoc-ui/rustc-check-passes.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#![feature(box_syntax)]
#![feature(box_syntax)] //~ ERROR

pub fn foo() {}
9 changes: 9 additions & 0 deletions src/test/rustdoc-ui/rustc-check-passes.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
error[E0636]: the feature `box_syntax` has already been declared
--> $DIR/rustc-check-passes.rs:2:12
|
LL | #![feature(box_syntax)]
| ^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0636`.