4 ms·
Currently: - new keywords https://internals.rust-lang.org/t/keywords-to-reserve-for-rust2018-epoch/6720 https://internals.rust-lang.org/t/keywords-to-reserve-f
by Manishearth 9y ago
Currently:
- new keywords https://internals.rust-lang.org/t/keywords-to-reserve-for-rust2018-epoch/6720 https://internals.rust-lang.org/t/keywords-to-reserve-for-ru... . There are a lot, but not all of them may end up being used, this is conservatively reserving them. In case a crate on a previous edition has e.g. a method called `catch`, you can still call it via the "raw identifier syntax", `foo.r#catch()`
- you can no longer call methods on raw pointers that do not have a fully concrete type in the new epoch. E.g. `foo.is_null()` won't work if `foo` is `const T` and `T` isn't fully known. (This paves the path for `self: const Self`, which may be introduced later).