diff options
| author | Edd Barrett <vext01@gmail.com> | 2019-05-01 15:34:51 +0100 |
|---|---|---|
| committer | Edd Barrett <vext01@gmail.com> | 2019-05-24 14:14:36 +0100 |
| commit | 123a456a4f6b1ddc02cf9fe54b55d2af076da0f6 (patch) | |
| tree | dfbf26c72565dddb276ec24829ad92868c868bdc /src/test/ui/thinlto | |
| parent | 46805805abe58c287fa16963f897fd09d5d97467 (diff) | |
| download | rust-123a456a4f6b1ddc02cf9fe54b55d2af076da0f6.tar.gz rust-123a456a4f6b1ddc02cf9fe54b55d2af076da0f6.zip | |
Make place projections concrete.
Once upon a time (commit 9bd35c07c26) there were two kinds of projection: one for places, and one for constants. It therefore made sense to share the `Projection` struct for both. Although the different use-cases used different concrete types, sharing was made possible by type-parameterisation of `Projection`. Since then, however, the usage of projections in constants has disappeared, meaning that (forgetting lifetimes for a moment) the parameterised type is only every instantiated under one guise. So it may as well be a concrete type.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
