summary refs log tree commit diff
path: root/src/test/compile-fail/rustc-args-required-const2.rs
AgeCommit message (Collapse)AuthorLines
2018-02-08Disallow function pointers to #[rustc_args_required_const]Alex Crichton-0/+20
This commit disallows acquiring a function pointer to functions tagged as `#[rustc_args_required_const]`. This is intended to be used as future-proofing for the stdsimd crate to avoid taking a function pointer to any intrinsic which has a hard requirement that one of the arguments is a constant value.