Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

librustc_mir: Make qualify_min_const_fn module public #57342

Merged
merged 1 commit into from
Jan 5, 2019

Commits on Jan 4, 2019

  1. 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]: rust-lang/rust-clippy#2440 (comment)
    phansch committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    79ea93c View commit details
    Browse the repository at this point in the history