Skip to content

Rollup of 5 pull requests #82777

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

Merged
merged 22 commits into from
Mar 5, 2021
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
0ae7250
Add a regression test for issue-81712
JohnTitor Mar 4, 2021
0559e50
Remove a dead code path
oli-obk Mar 4, 2021
63af264
Spread tracing instrumentation into the polymorphization logic
oli-obk Mar 4, 2021
67a61b9
Typo
oli-obk Mar 4, 2021
29f4aa7
Fixes -Zpolymorphize for src/test/ui/const-generics/auxiliary/crayte.rs
oli-obk Mar 4, 2021
48167c4
Moved Context and its impls to a separate file
Nicholas-Baron Feb 14, 2021
6c7d7a6
Moved `print_item` and helpers to a separate file
Nicholas-Baron Feb 14, 2021
14983b9
Moved the `make_item_keywords` function to `context.rs` as it is only…
Nicholas-Baron Feb 14, 2021
fd14e38
Moved `write_shared` to its own file
Nicholas-Baron Feb 14, 2021
afb8220
Corrected imports for render tests and mod files
Nicholas-Baron Feb 14, 2021
dbdaa12
Update rustdoc documentation
jyn514 Mar 2, 2021
4b30625
Don't warn for `missing_doc_examples` when item is #[doc(hidden)]
GuillaumeGomez Feb 13, 2021
91095b1
Update missing code example test
GuillaumeGomez Feb 13, 2021
186f139
Move visibility check inside the should_have_doc_example function
GuillaumeGomez Feb 15, 2021
ad30c39
Pass TyCtxt directly instead of DocContext in librustdoc::visit_ast::…
GuillaumeGomez Feb 23, 2021
e428799
No more need for borrow call
GuillaumeGomez Feb 23, 2021
1683cb1
Use cache access levels
GuillaumeGomez Mar 2, 2021
95bbc7e
Rollup merge of #76716 - GuillaumeGomez:stop-complains-on-doc-hidden,…
GuillaumeGomez Mar 4, 2021
2f28361
Rollup merge of #82088 - Nicholas-Baron:shorten_html_render, r=Guilla…
GuillaumeGomez Mar 4, 2021
2a5ecb2
Rollup merge of #82690 - jyn514:remove-pass-docs, r=Manishearth
GuillaumeGomez Mar 4, 2021
e89276b
Rollup merge of #82752 - JohnTitor:gat-ice-test, r=jackh726
GuillaumeGomez Mar 4, 2021
f74231f
Rollup merge of #82765 - oli-obk:polymorphization_regression, r=david…
GuillaumeGomez Mar 4, 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
Typo
  • Loading branch information
oli-obk committed Mar 4, 2021
commit 67a61b9a013531bd0b03c8ddf1fd8922d4b7d252
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ impl<'tcx> Instance<'tcx> {
}

/// Returns a new `Instance` where generic parameters in `instance.substs` are replaced by
/// identify parameters if they are determined to be unused in `instance.def`.
/// identity parameters if they are determined to be unused in `instance.def`.
pub fn polymorphize(self, tcx: TyCtxt<'tcx>) -> Self {
debug!("polymorphize: running polymorphization analysis");
if !tcx.sess.opts.debugging_opts.polymorphize {
Expand Down