Make the fields of RangeInclusive private.
Added new()/start()/end() methods to RangeInclusive. Changed the lowering of `..=` to use RangeInclusive::new().
This commit is contained in:
parent
64e6dda0bc
commit
fba903a435
6 changed files with 78 additions and 6 deletions
|
@ -122,7 +122,7 @@
|
|||
#![feature(on_unimplemented)]
|
||||
#![feature(exact_chunks)]
|
||||
#![feature(pointer_methods)]
|
||||
#![feature(inclusive_range_fields)]
|
||||
#![feature(inclusive_range_methods)]
|
||||
#![cfg_attr(stage0, feature(generic_param_attrs))]
|
||||
|
||||
#![cfg_attr(not(test), feature(fn_traits, i128))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue