Skip to content

Rollup of 18 pull requests #59161

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

Closed
wants to merge 52 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
ec91f26
Fix SGX implementations of read/write_vectored.
sfackler Mar 8, 2019
ab8e1d2
Always call read/write from default vectored io methods
sfackler Mar 8, 2019
9aa89b2
When encountetring `||{}()`, suggest the likely intended `(||{})()`
estebank Mar 9, 2019
94a6936
Track embedded-book in the toolstate
kennytm Mar 9, 2019
967e7f4
resolve: Account for new importable entities
petrochenkov Mar 9, 2019
a4ea084
Avoid some common false positives in intra doc link checking
Manishearth Mar 9, 2019
3a83cb2
Fix ICE in MIR pretty printing
dlrobertson Mar 9, 2019
135b686
Update src/tools/publish_toolstate.py
jamesmunns Mar 10, 2019
d6f5100
Fix tidy
kennytm Mar 10, 2019
8371377
CI: Set job names.
ehuss Mar 9, 2019
4888b1f
we can now skip should_panic tests with the libtest harness
RalfJung Mar 10, 2019
52d9fa8
enabled too many tests
RalfJung Mar 10, 2019
8629fd3
Improvements to comments in libstd, libcore, liballoc.
alexreg Feb 9, 2019
e25df32
consistent naming for duration_float methods and additional f32 methods
newpavlov Mar 11, 2019
35c19c5
move MAX_NANOS_F64/32 to methods
newpavlov Mar 11, 2019
d4b2071
Resolved nits raised in review.
alexreg Mar 11, 2019
02f26e3
Add peer_addr function to UdpSocket
LinusU Mar 11, 2019
980871a
fix tests
newpavlov Mar 11, 2019
197efb0
fix test
newpavlov Mar 11, 2019
b9d12ed
Be more discerning on when to attempt suggesting a comma in a macro i…
estebank Mar 11, 2019
78b248d
fix typo
newpavlov Mar 12, 2019
df2dce3
Mark UdpSocket peer_addr unstable w/ tracking issue
LinusU Mar 12, 2019
54bf8e0
Document UdpSocket peer_addr NotConnected error
LinusU Mar 12, 2019
5074489
Unregress using scalar unions in constants.
oli-obk Mar 12, 2019
79695ea
Add test for UdpSocket peer_addr
LinusU Mar 12, 2019
ca32fe4
Fix test names regarding ip version
LinusU Mar 12, 2019
df05fbf
rustc: fix ICE when trait alias has bare Self
seanmonstar Mar 11, 2019
795d307
Suggest return lifetime when there's only one named lifetime
estebank Mar 12, 2019
f923476
review comments
estebank Mar 12, 2019
adbd0a6
Make std time tests more robust for platform differences
Mar 12, 2019
0ea9b58
Suggest adding lifetime to struct field
estebank Mar 13, 2019
27abd52
Fix operator precedence
estebank Mar 13, 2019
311025e
Fix generic argument lookup for Self
Mar 7, 2019
856b081
middle: replace NodeId with HirId in AccessLevels
ljedrz Mar 11, 2019
ba9323f
Rollup merge of #59009 - sfackler:fix-sgx-vectors, r=alexcrichton
pietroalbini Mar 13, 2019
ae5856f
Rollup merge of #59025 - aoikonomopoulos:issue-57924, r=varkor
pietroalbini Mar 13, 2019
321ed9a
Rollup merge of #59035 - estebank:closure-instacall, r=davidtwco
pietroalbini Mar 13, 2019
a0f0b1b
Rollup merge of #59036 - dlrobertson:fix_59021, r=estebank
pietroalbini Mar 13, 2019
b0d7611
Rollup merge of #59037 - Manishearth:intra-doc-false, r=QuietMisdreavus
pietroalbini Mar 13, 2019
33bb3dc
Rollup merge of #59038 - kennytm:track-embedded-book, r=oli-obk
pietroalbini Mar 13, 2019
3da9ee8
Rollup merge of #59047 - petrochenkov:modnodefid, r=Centril
pietroalbini Mar 13, 2019
298265c
Rollup merge of #59055 - ehuss:ci-job-name, r=alexcrichton
pietroalbini Mar 13, 2019
03b2462
Rollup merge of #59072 - RalfJung:miri-alloc-tests, r=kennytm
pietroalbini Mar 13, 2019
e2ef3e2
Rollup merge of #59082 - alexreg:cosmetic-2-doc-comments, r=Centril
pietroalbini Mar 13, 2019
153fd15
Rollup merge of #59096 - ljedrz:HirIdify_AccessLevel, r=Zoxc
pietroalbini Mar 13, 2019
a7ecf5f
Rollup merge of #59102 - newpavlov:duration_float, r=alexcrichton
pietroalbini Mar 13, 2019
5b613a8
Rollup merge of #59106 - LinusU:udp-peer-addr, r=kennytm
pietroalbini Mar 13, 2019
4f01679
Rollup merge of #59116 - estebank:comma-sugg, r=petrochenkov
pietroalbini Mar 13, 2019
005debc
Rollup merge of #59118 - seanmonstar:alias-where-self-ice, r=alexreg
pietroalbini Mar 13, 2019
7be9dec
Rollup merge of #59139 - oli-obk:unions_are_a_good_thing, r=RalfJung
pietroalbini Mar 13, 2019
fd3de6a
Rollup merge of #59146 - estebank:suggest-return-lt, r=varkor
pietroalbini Mar 13, 2019
4769f8f
Rollup merge of #59147 - jethrogb:jb/time-tests, r=sfackler
pietroalbini Mar 13, 2019
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
Avoid some common false positives in intra doc link checking
  • Loading branch information
Manishearth committed Mar 9, 2019
commit a4ea08420cde12ea0943cafb1505e512c5820f70
6 changes: 6 additions & 0 deletions src/librustdoc/passes/collect_intra_doc_links.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,12 @@ impl<'a, 'tcx, 'rcx> DocFolder for LinkCollector<'a, 'tcx, 'rcx> {
if ori_link.contains('/') {
continue;
}

// [] is mostly likely not supposed to be a link
if ori_link.is_empty() {
continue;
}

let link = ori_link.replace("`", "");
let (def, fragment) = {
let mut kind = PathKind::Unknown;
Expand Down