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

Checking that function is const if marked with rustc_const_unstable #86838

Merged

Commits on Jul 8, 2021

  1. fn must be const if marked with stability attribut

    remove trailing newline
    
    fix: test with attribute but missing const
    
    Update compiler/rustc_passes/src/stability.rs
    
    Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
    
    Add test for extern functions
    
    fix: using span_help instead of span_suggestion
    
    add test for some ABIs + fmt fix
    
    Update compiler/rustc_passes/src/stability.rs
    
    Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
    
    Refractor and add test for `impl const`
    
    Add test to make sure no output + cleanup condition
    
    -----------------------------
    
    remove stdcall test, failing CI test
    
    C abi is already tested in this, so it is not that useful to test another one.
    The tested code is blind to which specific ABI for now, as long as it's not an intrinsic one
    Lamb committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    07f903e View commit details
    Browse the repository at this point in the history