diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-06-16 17:39:14 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-06-16 17:45:05 +0100 |
commit | 9474a0f4a55caf1e2e5945d7407164cf3b58f056 (patch) | |
tree | 7e3b238813583e89aab5473fb99ac9df27869964 /gcc/file-prefix-map.c | |
parent | 59f09fd5a48046ceba064bde2f230386fbc3700f (diff) | |
download | gcc-9474a0f4a55caf1e2e5945d7407164cf3b58f056.zip gcc-9474a0f4a55caf1e2e5945d7407164cf3b58f056.tar.gz gcc-9474a0f4a55caf1e2e5945d7407164cf3b58f056.tar.bz2 |
TraitImpl blocks have a different CanonicalPath to normal impl blocks
TraitImpls have a canonical path which is a trait projection such as
```rust
pub trait Trait { // ::a::Trait
fn f(&self); // ::a::Trait::f
}
impl Trait for Struct {
fn f(&self) {} // <::a::Struct as ::a::Trait>::f
}
```
Diffstat (limited to 'gcc/file-prefix-map.c')
0 files changed, 0 insertions, 0 deletions