diff options
| author | bors <bors@rust-lang.org> | 2023-03-12 20:21:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-03-12 20:21:26 +0000 |
| commit | 7b4f48927dce585f747a58083b45ab62b9d73a53 (patch) | |
| tree | 2ebb9a10afc630bbf3348c46c80b0fd6a0c5f5ed /compiler/rustc_parse/src/parser/expr.rs | |
| parent | 938afba8996fe058b91c61b23ef5d000cb9ac169 (diff) | |
| parent | 5dc01137251f77b2dfbcffb1d9eeae0859b1c935 (diff) | |
| download | rust-7b4f48927dce585f747a58083b45ab62b9d73a53.tar.gz rust-7b4f48927dce585f747a58083b45ab62b9d73a53.zip | |
Auto merge of #109056 - matthiaskrgr:rollup-9trny1z, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #108651 (Forbid the use of `#[target_feature]` on `main`) - #109009 (rustdoc: use restricted Damerau-Levenshtein distance for search) - #109026 (Introduce `Rc::into_inner`, as a parallel to `Arc::into_inner`) - #109029 (Gate usages of `dyn*` and const closures in macros) - #109031 (Rename `config.toml.example` to `config.example.toml`) - #109032 (Use `TyCtxt::trait_solver_next` in some places) - #109047 (typo) - #109052 (Add eslint check for rustdoc-gui tester) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs index e00eda47c66..1d12dd47094 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -2105,7 +2105,7 @@ impl<'a> Parser<'a> { ClosureBinder::NotPresent }; - let constness = self.parse_closure_constness(Case::Sensitive); + let constness = self.parse_closure_constness(); let movability = if self.eat_keyword(kw::Static) { Movability::Static } else { Movability::Movable }; |
