diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-08-07 15:59:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-07 15:59:36 +0200 |
| commit | 493233ce290e32fe6cc4aa08099014def6fd8388 (patch) | |
| tree | 2475db54afe8de414cad15b0f3c6c148f74ecb18 /compiler/rustc_codegen_llvm/src | |
| parent | a6caceee4d32a00aaa6b572a302060a6ffecfa17 (diff) | |
| parent | 2c83c99058e8b2ae12013469b6c4fde27b648874 (diff) | |
| download | rust-493233ce290e32fe6cc4aa08099014def6fd8388.tar.gz rust-493233ce290e32fe6cc4aa08099014def6fd8388.zip | |
Rollup merge of #128527 - estebank:ambiguity-suggestion, r=Nadrieril
More information for fully-qualified suggestion when there are multiple impls ``` error[E0790]: cannot call associated function on trait without specifying the corresponding `impl` type --> $DIR/E0283.rs:30:21 | LL | fn create() -> u32; | ------------------- `Coroutine::create` defined here ... LL | let cont: u32 = Coroutine::create(); | ^^^^^^^^^^^^^^^^^^^ cannot call associated function of trait | help: use a fully-qualified path to a specific available implementation | LL | let cont: u32 = <Impl as Coroutine>::create(); | ++++++++ + LL | let cont: u32 = <AnotherImpl as Coroutine>::create(); | +++++++++++++++ + ```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
