Skip to content

Commit 5400c2b

Browse files
Ariel Ben-Yehudaarielb1
authored andcommitted
---
yaml --- r: 224881 b: refs/heads/tmp c: 49e7432 h: refs/heads/master i: 224879: 897317e v: v3
1 parent d51865b commit 5400c2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2626
refs/heads/beta: 83dee3dfbb452a7558193f3ce171b3c60bf4a499
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28-
refs/heads/tmp: 4c9971eb0d3235888b1f7086fa12051fce509fe7
28+
refs/heads/tmp: 49e7432b000424aba7bd0fc82f338f2d7f8570f8
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: e58601ab085591c71a27ae82137fc313222c2270
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828

branches/tmp/src/librustc/middle/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3413,7 +3413,6 @@ impl<'tcx, 'lt> ADTDef_<'tcx, 'lt> {
34133413

34143414
#[inline]
34153415
pub fn is_empty(&self) -> bool {
3416-
// FIXME(#TODO(wxyz)): be smarter here
34173416
self.variants.is_empty()
34183417
}
34193418

@@ -4249,6 +4248,7 @@ impl<'tcx> TyS<'tcx> {
42494248
}
42504249

42514250
pub fn is_empty(&self, _cx: &ctxt) -> bool {
4251+
// FIXME(#24885): be smarter here
42524252
match self.sty {
42534253
TyEnum(def, _) | TyStruct(def, _) => def.is_empty(),
42544254
_ => false

0 commit comments

Comments
 (0)