about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-08-18 09:27:45 +0900
committerGitHub <noreply@github.com>2020-08-18 09:27:45 +0900
commit8eb805c55cca030109525ae5daac4d4a646ee0a1 (patch)
treef6f1678cda701f4ed90e3b9b0b529e736dc4722e /src/test/rustdoc-ui/coverage/json.rs
parentd18719bbaf86b33344769ef68150c58604718722 (diff)
parentbe1fc40b1d473e8c1b22662d58e631c4f586d881 (diff)
downloadrust-8eb805c55cca030109525ae5daac4d4a646ee0a1.tar.gz
rust-8eb805c55cca030109525ae5daac4d4a646ee0a1.zip
Rollup merge of #75578 - 5M1Sec:master, r=oli-obk
Allowing raw ptr dereference in const fn

Reflect on issue #75340
Discussion in previous PR  #75425

## Updates
Change `UnsafetyViolationKind::General` to `UnsafetyViolationKind::GeneralAndConstFn` in check_unsafety.rs

Remove `unsafe` in min_const_fn_unsafe_bad.rs

Bless min_const_fn

Add the test case from issue 75340
***
Sorry for the chaos. I messed up and ended up deleting the repo in the last PR. I have to create a new PR for the new repo. I will make a feature branch next time. I will edit the old PR once I receive the commends.

@RalfJung Thank you all for your replies. They are helpful!

r? @oli-obk
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions