about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-08-22 02:14:41 +0200
committerGitHub <noreply@github.com>2020-08-22 02:14:41 +0200
commit6cb98e3114cefd8ecd7aa6d48c29109e3a48fc60 (patch)
tree6309d2474cfc1f3e406e9eb97c2188e123fa7d4c /src/test/codegen/src-hash-algorithm
parent8af33add1ac4e5430e9b45e84c2ff13d17c70140 (diff)
parente6642e41e0e827557dce08a3c0522e93c751e39c (diff)
downloadrust-6cb98e3114cefd8ecd7aa6d48c29109e3a48fc60.tar.gz
rust-6cb98e3114cefd8ecd7aa6d48c29109e3a48fc60.zip
Rollup merge of #75711 - CohenArthur:split-up-astconv, r=oli-obk
Split `astconv.rs` into its own submodule

Fixes #67418

This changed induced a few changes across the Type checker, but only there. Mostly, it was just renaming `Self::` into something else to call specific methods from a subtrait instead of having a 2500+ lines one.

I split up the `astconv.rs` file into its own module. This way, directives such as
```rust
use crate::astconv::AstConv;
```
are still valid, and doing
```rust
use crate::astconv::{AstConv, AstConvGeneric};
```
is possible

(instead of having two modules, one named `astconv_generic.rs` for example and `astconv.rs`)

I'm not entirely sure that the name `AstConvGeneric` is a good one. However, only methods related to lifetimes or generics have been moved over to this module. Sorry about the large diff.

I'd be very happy to make any correction you deem necessary.

r? @oli-obk
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions