diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-08-22 14:34:14 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-08-22 14:56:27 +0100 |
commit | db24e859d8f0141ba97d828deed7cd0d0ae9a43d (patch) | |
tree | 678ef9c4448e1b7a744a61d10bb56469229b756e /gcc/rust/backend/rust-compile-expr.h | |
parent | cbfc0ee239fafc0dadaae314138410f9119c65fa (diff) | |
download | gcc-db24e859d8f0141ba97d828deed7cd0d0ae9a43d.zip gcc-db24e859d8f0141ba97d828deed7cd0d0ae9a43d.tar.gz gcc-db24e859d8f0141ba97d828deed7cd0d0ae9a43d.tar.bz2 |
Path resolution is done in two phases
This changes Path resolution to check for impl items first, then extensions
second. This stops some invalid multiple canidate errors such as the case
when the trait implements a function but the reciever also implements it
to override the behaviour.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions