Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b7f2396
Perform obligation deduplication to avoid buggy `ExistentialMismatch`
estebank Jun 18, 2020
f66bcc5
Add liballoc impl SpecFromElem for i8
pickfire Jun 20, 2020
7cac209
add missing doc links
RalfJung Jun 21, 2020
55d207a
tweak wording
RalfJung Jun 21, 2020
cb8c94c
improve grammar
RalfJung Jun 21, 2020
f3b1582
Update libunwind build process for x86_64-fortanix-unknown-sgx target
AdrianCX Jun 23, 2020
f44b8b9
Document the Self keyword
poliorcetics Jun 24, 2020
5232e20
Document the super keyword
poliorcetics Jun 25, 2020
343a921
Fix comments
AdrianCX Jun 25, 2020
db6fa2f
Remove deprecated comments
AdrianCX Jun 25, 2020
8b368db
Bootstrap: fallback detection of Windows
ajpaverd Jun 25, 2020
1a355a2
Document some invariants correctly/more
oli-obk Jun 25, 2020
f9af59d
Remove irrelevant comment
nbdd0121 Jun 25, 2020
42062a5
Shortcuts for min/max on ordinary BTreeMap/BTreeSet iterators
ssomers Jun 22, 2020
6f8bec9
Warn if linking to a private item
jyn514 May 13, 2020
20552c8
Generate docs for links to private items when passed --document-private
jyn514 May 30, 2020
6742382
Fix debug messages
jyn514 Jun 26, 2020
cb152ea
Remove blank line
kraai Jun 26, 2020
8adc781
Rollup merge of #72771 - jyn514:rustdoc, r=Manishearth
Manishearth Jun 26, 2020
38cbf15
Rollup merge of #72937 - AdrianCX:master, r=nikomatsakis
Manishearth Jun 26, 2020
f13d09a
Rollup merge of #73485 - estebank:dedup-preds, r=nikomatsakis
Manishearth Jun 26, 2020
23b0776
Rollup merge of #73529 - pickfire:liballoc-specfromelem-i8, r=cuviper
Manishearth Jun 26, 2020
92af945
Rollup merge of #73579 - RalfJung:doc-missing-links, r=shepmaster
Manishearth Jun 26, 2020
dfbba65
Rollup merge of #73627 - ssomers:btree_iter_min_max, r=Mark-Simulacrum
Manishearth Jun 26, 2020
c18e919
Rollup merge of #73691 - ajpaverd:bootstrap-windows-73689, r=Mark-Sim…
Manishearth Jun 26, 2020
8d9c00d
Rollup merge of #73694 - poliorcetics:self-upper-keyword, r=Mark-Simu…
Manishearth Jun 26, 2020
bc10bb0
Rollup merge of #73718 - poliorcetics:super-keyword, r=shepmaster
Manishearth Jun 26, 2020
83f6d0a
Rollup merge of #73728 - oli-obk:const_prop_cleanup, r=wesleywiser
Manishearth Jun 26, 2020
7926c64
Rollup merge of #73738 - nbdd0121:comment, r=nikomatsakis
Manishearth Jun 26, 2020
50026ae
Rollup merge of #73765 - kraai:remove-blank-line, r=jonas-schievink
Manishearth Jun 26, 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
Fix debug messages
  • Loading branch information
jyn514 committed Jun 26, 2020
commit 67423821aa0dd705720c9e183d04d4b7a55b723f
5 changes: 2 additions & 3 deletions src/librustdoc/passes/collect_intra_doc_links.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl<'a, 'tcx> LinkCollector<'a, 'tcx> {
let result = cx.enter_resolver(|resolver| {
resolver.resolve_str_path_error(DUMMY_SP, &path_str, ns, module_id)
});
debug!("{} resolved to {:?} in namespace {:?}", path_str, ns, result);
debug!("{} resolved to {:?} in namespace {:?}", path_str, result, ns);
let result = match result {
Ok((_, Res::Err)) => Err(ErrorKind::ResolutionFailure),
_ => result.map_err(|_| ErrorKind::ResolutionFailure),
Expand Down Expand Up @@ -208,7 +208,6 @@ impl<'a, 'tcx> LinkCollector<'a, 'tcx> {
"failed to resolve {} in namespace {:?} (got {:?})",
path_str, ns, other
);
debug!("extra_fragment is {:?}", extra_fragment);
return Ok((res, extra_fragment.clone()));
}
};
Expand Down Expand Up @@ -768,7 +767,7 @@ impl<'a, 'tcx> DocFolder for LinkCollector<'a, 'tcx> {
if let Res::PrimTy(_) = res {
item.attrs.links.push((ori_link, None, fragment));
} else {
debug!("linked item {} resolved to {:?}", path_str, res);
debug!("intra-doc link to {} resolved to {:?}", path_str, res);
if let Some(local) = res.opt_def_id().and_then(|def_id| def_id.as_local()) {
use rustc_hir::def_id::LOCAL_CRATE;

Expand Down