diff options
| author | Philipp Hansch <dev@phansch.net> | 2019-01-04 20:13:24 +0100 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2019-01-04 20:19:04 +0100 |
| commit | 79ea93c54c99b43e28618b0cd8a65509f3ee49fa (patch) | |
| tree | 21765c5a713f8c024bf3e80e2eab866767e04b04 /src/test/incremental/thinlto | |
| parent | ae167c91aa9abefcd4a9697b5560330ef18e2e3e (diff) | |
| download | rust-79ea93c54c99b43e28618b0cd8a65509f3ee49fa.tar.gz rust-79ea93c54c99b43e28618b0cd8a65509f3ee49fa.zip | |
librustc_mir: Make qualify_min_const_fn module public
Trying to write a `const_fn` lint for Clippy. @oli-obk suggested [here][link] to use the `is_min_const_fn` function from the `qualify_min_const_fn` module. However, the module is currently private and this commit makes it public. I lack any historical knowledge of the development of the `const_fn` feature, so I'm not sure if it was private on purpose or not. fwiw, all modules are already public except `qualify_min_const_fn`. [link]: https://github.com/rust-lang/rust-clippy/issues/2440#issuecomment-446109978
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
