File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
branches/try/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 2
2
refs/heads/master: b8ef9fd9c9f642ce7b8aed82782a1ed745d08d64
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: b8601a3d8b91ad3b653d143307611f2f5c75617e
5
- refs/heads/try: 4cb3bd558f64bac0964fc9b3e342fe20c30ded40
5
+ refs/heads/try: a22539b0837acef66d9bcbcc4ef74f9144c2a72d
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
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