Commit 99ac1de
fix or allow elided_named_lifetimes warning
Summary:
There are a couple of places where we were relying on elided lifetimes implicity matching with an already-named lifetime. This is now a warning, so let's stop doing that.
For `hgproto::sshproto::request`, this comes from the use of `nom` macros, so suppress the warning there.
For `derived_data_manager::manager::derive`, we were matching on the lifetime added by `async_recursion`, so we need to explicitly name the lifetime to get around this.
Reviewed By: mitrandir77, RajivTS
Differential Revision: D67735986
fbshipit-source-id: da58202d48859bd0238704e8e8ce9e8a84093ddf1 parent b1f19b2 commit 99ac1de
File tree
4 files changed
+9
-7
lines changed- eden/mononoke
- cmdlib/src/args
- derived_data/manager/manager
- hgproto/src/sshproto
- mononoke_types/src
4 files changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
912 | | - | |
| 912 | + | |
913 | 913 | | |
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
919 | | - | |
| 919 | + | |
920 | 920 | | |
921 | 921 | | |
922 | 922 | | |
| |||
1264 | 1264 | | |
1265 | 1265 | | |
1266 | 1266 | | |
1267 | | - | |
| 1267 | + | |
1268 | 1268 | | |
1269 | 1269 | | |
1270 | 1270 | | |
| |||
0 commit comments