diff options
| author | kennytm <kennytm@gmail.com> | 2019-01-05 23:57:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-05 23:57:04 +0800 |
| commit | 06c07f93c023ac619bd09fb9d76625705eadfeb7 (patch) | |
| tree | e212ed8bd6249a5bf8641c6de88723e14f48088e /src/rustllvm/RustWrapper.cpp | |
| parent | 284a419b7304f51777bc2ef2882268bca2c22edd (diff) | |
| parent | 79ea93c54c99b43e28618b0cd8a65509f3ee49fa (diff) | |
| download | rust-06c07f93c023ac619bd09fb9d76625705eadfeb7.tar.gz rust-06c07f93c023ac619bd09fb9d76625705eadfeb7.zip | |
Rollup merge of #57342 - phansch:make_public, r=Centril
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`. r? @oli-obk [link]: https://github.com/rust-lang/rust-clippy/issues/2440#issuecomment-446109978
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
