File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
branches/snap-stage3/src/libstd Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 5fccce4051f452f68ad725d2e7520d3971f3178d
4
+ refs/heads/snap-stage3: c45af013517148b8fe6e6234ecad729baf135c23
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -173,23 +173,26 @@ mod tests {
173
173
174
174
// verify that `#[unsafe_no_drop_flag]` works as intended on a zero-size struct
175
175
176
- static mut did_run: bool = false ;
176
+ // NOTE: uncomment after snapshot, will not parse yet
177
+ //static mut did_run: bool = false;
177
178
178
179
struct Foo { five : int }
179
180
180
181
impl Drop for Foo {
181
182
fn drop ( & self ) {
182
183
assert_eq ! ( self . five, 5 ) ;
183
- unsafe {
184
- did_run = true ;
185
- }
184
+ // NOTE: uncomment after snapshot, will not parse yet
185
+ //unsafe {
186
+ //did_run = true;
187
+ //}
186
188
}
187
189
}
188
190
189
191
{
190
192
let _a = ( NonCopyable , Foo { five : 5 } , NonCopyable ) ;
191
193
}
192
194
193
- unsafe { assert_eq ! ( did_run, true ) ; }
195
+ // NOTE: uncomment after snapshot, will not parse yet
196
+ //unsafe { assert_eq!(did_run, true); }
194
197
}
195
198
}
You can’t perform that action at this time.
0 commit comments