File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 172172#![ feature( no_core) ]
173173#![ feature( optimize_attribute) ]
174174#![ feature( prelude_import) ]
175+ #![ feature( reborrow) ]
175176#![ feature( repr_simd) ]
176177#![ feature( rustc_allow_const_fn_unstable) ]
177178#![ feature( rustc_attrs) ]
Original file line number Diff line number Diff line change @@ -1365,3 +1365,11 @@ pub macro CoercePointee($item:item) {
13651365pub trait CoercePointeeValidated {
13661366 /* compiler built-in */
13671367}
1368+
1369+ /// Allows value to be reborrowed as exclusive, creating a copy of the value
1370+ /// that disables the source for reads and writes for the lifetime of the copy.
1371+ #[ lang = "reborrow" ]
1372+ #[ unstable( feature = "reborrow" , issue = "145612" ) ]
1373+ pub trait Reborrow {
1374+ // Empty.
1375+ }
You can’t perform that action at this time.
0 commit comments