8000 Rollup of 9 pull requests by matthiaskrgr · Pull Request #93048 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 9 pull requests #93048

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 26 commits into from
Jan 19, 2022
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
01800ca
Add test of qpath interpolations
dtolnay Nov 23, 2021
558ddee
Add test of NtTy in a qpath
dtolnay Nov 23, 2021
0cbb00f
Let qpath contain NtTy: <$:ty as $:ty>::rest
dtolnay Nov 23, 2021
87a7def
Reject generic arguments on mod style interpolated path
dtolnay Nov 23, 2021
d32ca64
Allow isize/usize in simd_cast
calebzulawski Dec 28, 2021
8fae33d
Add simd_as intrinsic
calebzulawski Dec 30, 2021
3cd4976
Add pointer-sized integer tests
calebzulawski Dec 30, 2021
0cf7fd1
Call out to binutils' dlltool for raw-dylib on windows-gnu platforms.
ricobbe Nov 1, 2021
4c27d34
directly use ConstValue for single literals in blocks
b-naber Jan 11, 2022
7dac626
add and update tests
b-naber Jan 11, 2022
ae9b624
Rm some unused ord impls
pierwill Jan 17, 2022
1d5bf6b
Update compiler/rustc_codegen_llvm/src/builder.rs
calebzulawski Jan 18, 2022
49d36d7
Improve documentation of splatted constants
calebzulawski Jan 18, 2022
51cd00c
fix typo in `max` description for f32/f64
klensy Jan 18, 2022
3db479e
Fix stdarch submodule pointing to commit outside tree
Amanieu Jan 18, 2022
6a5f8b1
Simplify and unify rustdoc sidebar styles
jsha Jan 7, 2022
fe86dcf
Delete pretty printer tracing
dtolnay Jan 15, 2022
dd621a4
Rollup merge of #90782 - ricobbe:binutils-dlltool, r=michaelwoerister
matthiaskrgr Jan 18, 2022
f372476
Rollup merge of #91150 - dtolnay:qpath, r=davidtwco
matthiaskrgr Jan 18, 2022
7889f96
Rollup merge of #92425 - calebzulawski:simd-cast, r=workingjubilee
matthiaskrgr Jan 18, 2022
ff476b3
Rollup merge of #92692 - jsha:cool-sidebar, r=GuillaumeGomez
matthiaskrgr Jan 18, 2022
5a4f474
Rollup merge of #92780 - b-naber:postpone-const-eval-coherence, r=lcnr
matthiaskrgr Jan 18, 2022
262f48e
Rollup merge of #92924 - dtolnay:pptracing, r=Mark-Simulacrum
matthiaskrgr Jan 18, 2022
73988b6
Rollup merge of #93018 - pierwill:rm-unused-ord, r=davidtwco
matthiaskrgr Jan 18, 2022
63376bb
Rollup merge of #93026 - klensy:f-typo, r=scottmcm
matthiaskrgr Jan 18, 2022
f851a84
Rollup merge of #93035 - Amanieu:stdarch_fix, r=Mark-Simulacrum
matthiaskrgr Jan 18, 2022
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
Let qpath contain NtTy: <$:ty as $:ty>::rest
  • Loading branch information
dtolnay committed Nov 25, 2021
commit 0cbb00f89875c085181f1d55bbe46d39ec36be3f
10 changes: 10 additions & 0 deletions compiler/rustc_parse/src/parser/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,16 @@ impl<'a> Parser<'a> {
path
});

if let token::Interpolated(nt) = &self.token.kind {
if let token::NtTy(ty) = &**nt {
if let ast::TyKind::Path(None, path) = &ty.kind {
let path = path.clone();
self.bump();
return Ok(path);
}
}
}

let lo = self.token.span;
let mut segments = Vec::new();
let mod_sep_ctxt = self.token.span.ctxt();
Expand Down
0