8000 Rollup of 11 pull requests by Dylan-DPC-zz · Pull Request #83178 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 11 pull requests #83178

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 43 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
2f7672f
run-make: Specify --target to rustc
tblah Jan 9, 2021
1b55654
run-make: skip issue-36710 on riscv64
tblah Jan 11, 2021
f69d954
ci: docker: riscv64gc: specify host explicitly
tblah Feb 20, 2021
b71573b
bootstrap: don't run linkcheck when crosscompiling
tblah Feb 21, 2021
9b23df1
ci: docker: x86_64: specify host explicitly
tblah Feb 21, 2021
81d1d82
Update `Vec` docs
henrytheswimmer Mar 13, 2021
5fe3b87
Get rid of the garbage produced by getObjectFromId
notriddle Mar 13, 2021
d7971e5
In checkGenerics and checkType, don't use Array.prototype.splice so much
notriddle Mar 13, 2021
3f70bfa
Eagerly generate the underscore-less name to search on
notriddle Mar 13, 2021
b76a3d3
Update src/librustdoc/html/static/main.js
notriddle Mar 13, 2021
ca04ce3
Use null instead of undefined here
notriddle Mar 13, 2021
b7d14b1
Fix jslint warnings
notriddle Mar 13, 2021
7834aeb
Add comments regarding object shapes in buildIndex
notriddle Mar 13, 2021
26f85cc
Avoid potential collisions with `constructor` and the search query
notriddle Mar 13, 2021
d92f840
Remove tab character
notriddle Mar 13, 2021
fa3694f
Always lower asm! to valid HIR
Amanieu Mar 6, 2021
0bfd142
Avoid generating new strings for names that have no undescores
notriddle Mar 14, 2021
f57d715
Use a number for row.id, instead of a string
notriddle Mar 14, 2021
3612953
Do not insert impl_trait_in_bindings opaque definitions twice.
cjgillot Mar 14, 2021
17d3308
Remove dead code.
cjgillot Mar 14, 2021
e8b2e7b
Assert there is no duplicate node.
cjgillot Mar 14, 2021
8eba927
Make nameWithoutUndescores lowercased
notriddle Mar 14, 2021
ba00ddc
Address review comments
Amanieu Mar 14, 2021
7134b0e
Fall-back to sans-serif if Arial is not available
nagisa Mar 15, 2021
9aa48ba
No background for code in portability snippets
nagisa Mar 15, 2021
db14627
test: run-make: flag tests which won't work in no-std environments
tblah Mar 15, 2021
dcba95f
Declare `word` outside the loop, as recommended by eslint
notriddle Mar 15, 2021
7e66e9d
More precise spans for HIR paths
petrochenkov Mar 13, 2021
ff8717b
Specify *.woff2 files as binary
jfrimmel Mar 15, 2021
924e522
Deprecate RustcEncodable and RustcDecodable.
m-ou-se Mar 15, 2021
d6a7c1d
Extend `proc_macro_back_compat` lint to `procedural-masquerade`
Aaron1011 Mar 15, 2021
e98b7d1
Update clippy tests
petrochenkov Mar 15, 2021
142028e
Rollup merge of #80839 - tblah:riscv64linux_links, r=sanxiyn
Dylan-DPC Mar 16, 2021
d0222f1
Rollup merge of #82838 - Amanieu:rustdoc_asm, r=nagisa
Dylan-DPC Mar 16, 2021
0e7ab5a
Rollup merge of #83072 - henryboisdequin:patch-1, r=Dylan-DPC
Dylan-DPC Mar 16, 2021
a9d6f8a
Rollup merge of #83077 - notriddle:gc-cleanup-rustdoc-search, r=Guill…
Dylan-DPC Mar 16, 2021
c73d157
Rollup merge of #83092 - petrochenkov:qspan, r=estebank
Dylan-DPC Mar 16, 2021
dba97da
Rollup merge of #83124 - cjgillot:iiib, r=petrochenkov
Dylan-DPC Mar 16, 2021
0463c76
Rollup merge of #83156 - nagisa:nagisa/sans-serif-please, r=Guillaume…
Dylan-DPC Mar 16, 2021
afcd0a6
Rollup merge of #83157 - nagisa:nagisa/portability-background, r=Guil…
Dylan-DPC Mar 16, 2021
1a513c4
Rollup merge of #83160 - m-ou-se:deprecate-rustc-serialize-derives, r…
Dylan-DPC Mar 16, 2021
4e39084
Rollup merge of #83162 - jfrimmel:woff2, r=Mark-Simulacrum
Dylan-DPC Mar 16, 2021
1c3860b
Rollup merge of #83168 - Aaron1011:lint-procedural-masquerade, r=petr…
Dylan-DPC Mar 16, 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
Remove dead code.
  • Loading branch information
cjgillot committed Mar 14, 2021
commit 17d3308d3fe64bf402a6bfabcc16a62a702a2ba7
25 changes: 0 additions & 25 deletions compiler/rustc_ast_lowering/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,31 +438,6 @@ impl<'a> TokenStreamLowering<'a> {
}
}

struct ImplTraitTypeIdVisitor<'a> {
ids: &'a mut SmallVec<[NodeId; 1]>,
}

impl Visitor<'_> for ImplTraitTypeIdVisitor<'_> {
fn visit_ty(&mut self, ty: &Ty) {
match ty.kind {
TyKind::Typeof(_) | TyKind::BareFn(_) => return,

TyKind::ImplTrait(id, _) => self.ids.push(id),
_ => {}
}
visit::walk_ty(self, ty);
}

fn visit_path_segment(&mut self, path_span: Span, path_segment: &PathSegment) {
if let Some(ref p) = path_segment.args {
if let GenericArgs::Parenthesized(_) = **p {
return;
}
}
visit::walk_path_segment(self, path_span, path_segment)
}
}

impl<'a, 'hir> LoweringContext<'a, 'hir> {
fn lower_crate(mut self, c: &Crate) -> hir::Crate<'hir> {
/// Full-crate AST visitor that inserts into a fresh
Expand Down
0