diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-23 10:12:40 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-23 10:13:41 +0200 |
| commit | 7a7708904bf69c8f85a41efea1db4cd5ebc6fecb (patch) | |
| tree | 68f28315b7128a6fdcf28f8d851ba66028fca7b8 /compiler | |
| parent | cec34a43b1b14f4e39363f3b283d7ac4f593ee81 (diff) | |
| download | rust-7a7708904bf69c8f85a41efea1db4cd5ebc6fecb.tar.gz rust-7a7708904bf69c8f85a41efea1db4cd5ebc6fecb.zip | |
match on chars instead of &strs for .split() or .strip_prefix()
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_hir_typeck/src/upvar.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_middle/src/traits/solve/inspect/format.rs | 4 | ||||
| -rw-r--r-- | compiler/rustc_session/src/config.rs | 4 | ||||
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/compiler/rustc_hir_typeck/src/upvar.rs b/compiler/rustc_hir_typeck/src/upvar.rs index fb81a8395d7..22fe823acb7 100644 --- a/compiler/rustc_hir_typeck/src/upvar.rs +++ b/compiler/rustc_hir_typeck/src/upvar.rs @@ -932,7 +932,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { var_hir_id: hir::HirId, closure_clause: hir::CaptureBy, ) -> Option<FxIndexMap<UpvarMigrationInfo, UnordSet<&'static str>>> { - let auto_traits_def_id = vec