diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-09-17 17:51:23 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-09-17 17:51:23 +0100 |
commit | a6e15ff5f052801180b3e56c4579ea555f2f0c50 (patch) | |
tree | 4d4b57f71b4af940056a979b213f44167a820ddd /gcc/rust/backend/rust-compile-context.h | |
parent | c674e168ebc29c061a8a936e064c2e3d556ab326 (diff) | |
download | gcc-a6e15ff5f052801180b3e56c4579ea555f2f0c50.zip gcc-a6e15ff5f052801180b3e56c4579ea555f2f0c50.tar.gz gcc-a6e15ff5f052801180b3e56c4579ea555f2f0c50.tar.bz2 |
Add method resolution to Dynamic objects
Support method resolution via probe of the type bound on the dynamic objects. This acts the same way as when we probe for methods like this:
```rust
trait Foo {
fn bar(&self);
}
fn test<T: Foo>(a:T) {
a.bar();
}
```
Addresses: #197
Diffstat (limited to 'gcc/rust/backend/rust-compile-context.h')
0 files changed, 0 insertions, 0 deletions