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 15 pull requests #78838

Closed
wants to merge 40 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
9412a89
Stabilize `Poll::is_ready` and `is_pending` as const
CDirkx Sep 2, 2020
ce1d5ed
Move const tests for `Poll` to `library\core`
CDirkx Sep 3, 2020
91a9f83
Define `fs::hard_link` to not follow symlinks.
sunfishcode Oct 16, 2020
5e80c65
Bump version to 1.49.0
CDirkx Oct 16, 2020
23a5c21
Fix a typo in a comment.
sunfishcode Oct 19, 2020
ce00b3e
Use `link` on platforms which lack `linkat`.
sunfishcode Oct 19, 2020
628fb9f
make concurrency helper more pleasant to read
tshepang Oct 21, 2020
d0178b4
Make it platform-specific whether `hard_link` follows symlinks.
sunfishcode Oct 20, 2020
6249cda
Disable use of `linkat` on Android as well.
sunfishcode Oct 23, 2020
e099138
BTreeMap: stop mistaking node for an orderly place
ssomers Oct 26, 2020
b0df3f7
fix some incorrect aliasing in the BTree
RalfJung Oct 28, 2020
59c6ae6
Use SOCK_CLOEXEC and accept4() on more platforms.
de-vri-es Oct 30, 2020
39103ce
Fix run-make tests running when LLVM is disabled
bjorn3 Nov 3, 2020
5fc22f1
Add a tool to run `x.py` from any subdirectory
casey Nov 2, 2020
9a12d72
Constantify `UnsafeCell::into_inner` and related
a1phyr Nov 4, 2020
795bbfe
Add tracking issue
a1phyr Nov 4, 2020
eed0ceb
Recognize `private_intra_doc_links` as a lint
jyn514 Oct 19, 2020
47b21b8
Add PRIVATE_INTRA_DOC_LINKS to rustdoc special-casing
jyn514 Nov 5, 2020
8078474
Correct unsigned equivalent of isize to be usize
jhpratt Nov 5, 2020
3bee37c
Disable accept4 on Android.
de-vri-es Oct 31, 2020
e8b5be5
Stabilize hint::spin_loop
pickfire Aug 30, 2020
ae059b5
Make some std::io functions `const`
a1phyr Nov 6, 2020
001dd7e
Add tracking issue
a1phyr Nov 6, 2020
020ed65
use single char patterns for split() (clippy::single_char_pattern)
matthiaskrgr Nov 7, 2020
5c8d25f
remove FIXME comment of #62277 in print_type_sizez ui tests
sasurau4 Nov 7, 2020
309522a
Rollup merge of #76097 - pickfire:stabilize-spin-loop, r=KodrAus
m-ou-se Nov 7, 2020
1b9f58d
Rollup merge of #76227 - CDirkx:const-poll, r=KodrAus
m-ou-se Nov 7, 2020
28a0211
Rollup merge of #78026 - sunfishcode:symlink-hard-link, r=dtolnay
m-ou-se Nov 7, 2020
7a76d86
Rollup merge of #78065 - tshepang:nits, r=dtolnay
m-ou-se Nov 7, 2020
97e2e99
Rollup merge of #78114 - jyn514:private, r=oli-obk
m-ou-se Nov 7, 2020
01db421
Rollup merge of #78437 - ssomers:btree_no_ord_at_node_level, r=Mark-S…
m-ou-se Nov 7, 2020
0cd6630
Rollup merge of #78476 - RalfJung:btree-alias, r=Mark-Simulacrum
m-ou-se Nov 7, 2020
81197c9
Rollup merge of #78570 - sasurau4:test/check-pass-print-type-size, r=…
m-ou-se Nov 7, 2020
3eac7c1
Rollup merge of #78572 - de-vri-es:bsd-cloexec, r=m-ou-se
m-ou-se Nov 7, 2020
b206716
Rollup merge of #78658 - casey:x, r=Mark-Simulacrum
m-ou-se Nov 7, 2020
a9157ad
Rollup merge of #78706 - bjorn3:fix_run_make_without_llvm, r=Mark-Sim…
m-ou-se Nov 7, 2020
3f35770
Rollup merge of #78728 - a1phyr:const_cell_into_inner, r=dtolnay
m-ou-se Nov 7, 2020
84f779c
Rollup merge of #78788 - jhpratt:isize-impl-fix, r=m-ou-se
m-ou-se Nov 7, 2020
d290eb6
Rollup merge of #78811 - a1phyr:const_io_structs, r=dtolnay
m-ou-se Nov 7, 2020
43f2d70
Rollup merge of #78828 - matthiaskrgr:sing_chr, r=lcnr
m-ou-se Nov 7, 2020
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
Recognize private_intra_doc_links as a lint
Previously, trying to allow this would give another error!

```
warning: unknown lint: `private_intra_doc_links`
 --> private.rs:1:10
  |
1 | #![allow(private_intra_doc_links)]
  |          ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `broken_intra_doc_links`
  |
  = note: `#[warn(unknown_lints)]` on by default

warning: public documentation for `DocMe` links to private item `DontDocMe`
 --> private.rs:2:11
  |
2 | /// docs [DontDocMe]
  |           ^^^^^^^^^ this item is private
  |
  = note: `#[warn(private_intra_doc_links)]` on by default
  = note: this link will resolve properly if you pass `--document-private-items`
```
  • Loading branch information
jyn514 committed Nov 5, 2020
commit eed0cebea3d16d82f5517e17ab498b340001fe01
1 change: 1 addition & 0 deletions compiler/rustc_lint_defs/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2790,6 +2790,7 @@ declare_lint_pass! {
UNSTABLE_NAME_COLLISIONS,
IRREFUTABLE_LET_PATTERNS,
BROKEN_INTRA_DOC_LINKS,
PRIVATE_INTRA_DOC_LINKS,
INVALID_CODEBLOCK_ATTRIBUTES,
MISSING_CRATE_LEVEL_DOCS,
MISSING_DOC_CODE_EXAMPLES,
Expand Down