about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2020-09-25 19:42:39 +0200
committerGitHub <noreply@github.com>2020-09-25 19:42:39 +0200
commit1149b308cd8f0371e36cf2dd9e3e7a012adb4fbd (patch)
treea513b11ecd4942979c8c7e2efb17ed5a8fbaeffe /src/test/codegen/src-hash-algorithm
parentb49990cede53f27b05f6c7c3a3d4091f972d2d4a (diff)
parent631c6883502144fdb8ac754c9ef1f74111fd3222 (diff)
downloadrust-1149b308cd8f0371e36cf2dd9e3e7a012adb4fbd.tar.gz
rust-1149b308cd8f0371e36cf2dd9e3e7a012adb4fbd.zip
Rollup merge of #77097 - fusion-engineering-forks:slice-ptr-range-const-fn, r=oli-obk
Make [].as_[mut_]ptr_range() (unstably) const.

Gated behind `const_ptr_offset`, as suggested by https://github.com/rust-lang/rust/issues/65807#issuecomment-697229404

This also marks `[].as_mut_ptr()` as const, because it's used by `as_mut_ptr_range`. I gated it behind the same feature, because I figured it's not worth adding a separate tracking issue for const `as_mut_ptr`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions