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

Split astconv.rs into its own submodule #75711

Merged
merged 1 commit into from
Aug 22, 2020

Commits on Aug 21, 2020

  1. astconv: Split astconv.rs into its own module with submodules

    To separate the astconv.rs file, I split it into its own module with a
    subtrait called GenericAstConv. This subtrait handles methods related to
    generics, be it types or lifetimes.
    
    typeck: Add bounds module and Bounds struct
    
    bounds: Run fmt, add documentation
    
    generic_astconv: Add subtrait GenericAstConv
    
    Some methods of AstConv deal exclusively with Generics. Therefore, it
    makes sense to have them in their own trait. Some other methods from
    AstConv might be added to it later
    
    generic_astconv: Add more methods from AstConv
    
    Add check_generic_arg_count_for_call() and check_generic_arg_count()
    
    astconv: Add module for clarity
    
    generic: Rename GenericAstConv -> AstConvGeneric
    
    generic: add more methods to AstConvGeneric
    
    astconv: Remove AstConvGeneric trait, add impl dyn AstConv in other
    module
    
    astconv: Add errors module to handle AstConv complaints
    
    fmt: format code in astconv/
    
    astconv: Remove old file
    
    astconv: Fix visibility on GenericArgPosition
    
    astconv: Fix visibility on GenericArgPosition
    
    astconv: Fix function visibility on other originally private functions
    CohenArthur committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    e6642e4 View commit details
    Browse the repository at this point in the history