about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
author5M1Sec <332047956+TsukimiSerenade@users.noreply.github.com>2020-08-15 23:39:09 -0400
committer5M1Sec <332047956+5M1Sec@users.noreply.github.com>2020-08-16 23:26:51 -0400
commitbe1fc40b1d473e8c1b22662d58e631c4f586d881 (patch)
tree47cebe2416bdaef31dc6243a1a3a09e9e1d476d3 /src/test/rustdoc-ui/coverage/json.rs
parentf032cba02e53a8538f3c1cd431edc01a9fa1b3f8 (diff)
downloadrust-be1fc40b1d473e8c1b22662d58e631c4f586d881.tar.gz
rust-be1fc40b1d473e8c1b22662d58e631c4f586d881.zip
Allowing raw ptr dereference in const fn
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

Co-authored-by: lzutao <taolzu@gmail.com>
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions