diff options
| author | bors <bors@rust-lang.org> | 2021-04-14 04:39:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-04-14 04:39:25 +0000 |
| commit | 19740d9334d1f4260a2851c3db7a7e70eb3d2ec3 (patch) | |
| tree | bfd246df1c05d96fd056accad0ea5e7ae9f18f72 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 8f3c2450c2dff0d4ae82395699809d3ea726d6c2 (diff) | |
| parent | 26a1989041393116c001f17d0323d6b4fc989dd9 (diff) | |
| download | rust-19740d9334d1f4260a2851c3db7a7e70eb3d2ec3.tar.gz rust-19740d9334d1f4260a2851c3db7a7e70eb3d2ec3.zip | |
Auto merge of #7076 - rail-rain:missing_const_for_fn, r=phansch
Fix a FP in `missing_const_for_fn` where a function that calls a standard library function whose constness is unstable is considered as being able to be a const function. Fixes #5995. The core change is the move from `rustc_mir::const_eval::is_min_const_fn` to `rustc_mir::const_eval::is_const_fn`. I'm not clear about the difference in their purpose between them so I'm not sure if it's acceptable to call `qualify_min_const_fn::is_min_const_fn` this way now. --- changelog: `missing_const_for_fn`: No longer lints when an unstably const function is called
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
