forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 5fdc755
committed
Require DerefMut if deref pattern has nested ref mut binding
1 parent b562795 commit 5fdc755
File tree
3 files changed
+61
-0
lines changed- compiler/rustc_hir_typeck/src
- tests/ui/pattern/deref-patterns
3 files changed
+61
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2017 | 2017 |
| |
2018 | 2018 |
| |
2019 | 2019 |
| |
2020 | + | ||
2021 | + | ||
2022 | + | ||
2023 | + | ||
2024 | + | ||
2025 | + | ||
2026 | + | ||
2027 | + | ||
2028 | + | ||
2029 | + | ||
2030 | + | ||
2031 | + | ||
2032 | + | ||
2033 | + | ||
2034 | + | ||
2035 | + | ||
2036 | + | ||
2037 | + | ||
2038 | + | ||
2039 | + | ||
2040 | + | ||
2041 | + | ||
2042 | + | ||
2043 | + | ||
2020 | 2044 |
| |
2021 | 2045 |
| |
2022 | 2046 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + |
0 commit comments