Commit 9b137f3
Fix Queriable for empty enum
Summary:
Turns out that reference to empty enum is consider inhabited: rust-lang/rust#80651
Fix by adding a unreachable clause.
Reviewed By: brianc118
Differential Revision: D36850027
fbshipit-source-id: 83814b331d51bc843629885ed070d527792e97361 parent 0dfd7c1 commit 9b137f3
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
0 commit comments