about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorFlorian Warzecha <liketechnik@disroot.org>2020-10-23 17:54:48 +0200
committerFlorian Warzecha <liketechnik@disroot.org>2020-10-23 17:54:48 +0200
commitac2c599f23d6c8b5d3413febde4c6febff68062e (patch)
tree1427f2565aaee12ec3031602e51e33af1faa96f5 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent13b481b247fe472ccf75b4fb13f3a46ac8f9ecaf (diff)
downloadrust-ac2c599f23d6c8b5d3413febde4c6febff68062e.tar.gz
rust-ac2c599f23d6c8b5d3413febde4c6febff68062e.zip
fix validation for rustc_allow_const_fn_unstable targets
The validation was introduced in 3a63bf02998f7b5e040a4b87e049d03ddd144f74
without strict validation of functions, e. g. all function types were
allowed.
Now the validation only allows `const fn`s.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions