We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f61b4af commit 715a0cdCopy full SHA for 715a0cd
src/librustc/middle/typeck/rscope.rs
@@ -12,6 +12,7 @@
12
use middle::ty;
13
14
use std::cell::Cell;
15
+use std::kinds::marker::NoCopy;
16
use syntax::ast;
17
use syntax::codemap::Span;
18
@@ -49,13 +50,15 @@ impl RegionScope for ExplicitRscope {
49
50
pub struct BindingRscope {
51
binder_id: ast::NodeId,
52
anon_bindings: Cell<uint>,
53
+ noncopyable: NoCopy,
54
}
55
56
impl BindingRscope {
57
pub fn new(binder_id: ast::NodeId) -> BindingRscope {
58
BindingRscope {
59
binder_id: binder_id,
60
anon_bindings: Cell::new(0),
61
62
63
64
0 commit comments