diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-02-08 13:11:13 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-02-08 14:46:27 -0800 |
| commit | 7a20fc14ef255df1ce2c417943605015aba2b1ff (patch) | |
| tree | f0163032b60fc571fb380761379eb7534bb43401 /src/test/incremental/thinlto | |
| parent | 35dca7edd3e5181459c8e410a59a1b6e3e97a360 (diff) | |
| download | rust-7a20fc14ef255df1ce2c417943605015aba2b1ff.tar.gz rust-7a20fc14ef255df1ce2c417943605015aba2b1ff.zip | |
Disallow function pointers to #[rustc_args_required_const]
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.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
