introduce an owned kind for data that contains no borrowed ptrs

This commit is contained in:
Niko Matsakis 2012-07-16 20:17:57 -07:00
parent d809336d0f
commit 0e42004bab
25 changed files with 245 additions and 142 deletions

View file

@ -1377,6 +1377,7 @@ fn print_bounds(s: ps, bounds: @~[ast::ty_param_bound]) {
ast::bound_copy { word(s.s, ~"copy"); }
ast::bound_send { word(s.s, ~"send"); }
ast::bound_const { word(s.s, ~"const"); }
ast::bound_owned { word(s.s, ~"owned"); }
ast::bound_trait(t) { print_type(s, t); }
}
}