File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
trunk/src/librustc/middle Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 4cb3bd558f64bac0964fc9b3e342fe20c30ded40
2
+ refs/heads/master: a22539b0837acef66d9bcbcc4ef74f9144c2a72d
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
5
5
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff
Original file line number Diff line number Diff line change @@ -2012,6 +2012,10 @@ impl TypeContents {
2012
2012
pub fn inverse ( & self ) -> TypeContents {
2013
2013
TypeContents { bits : !self . bits }
2014
2014
}
2015
+
2016
+ pub fn has_dtor ( & self ) -> bool {
2017
+ self . intersects ( TC :: OwnsDtor )
2018
+ }
2015
2019
}
2016
2020
2017
2021
impl ops:: BitOr < TypeContents , TypeContents > for TypeContents {
You can’t perform that action at this time.
0 commit comments