diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-08-02 02:39:37 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-08-02 03:22:56 +0000 |
| commit | 2c83c99058e8b2ae12013469b6c4fde27b648874 (patch) | |
| tree | ec06a75b995fd4e4676074e91273dffc001d5fb4 /compiler/rustc_codegen_llvm/src | |
| parent | e60ebb2f2c1facba87e7971798f3cbdfd309cd23 (diff) | |
| download | rust-2c83c99058e8b2ae12013469b6c4fde27b648874.tar.gz rust-2c83c99058e8b2ae12013469b6c4fde27b648874.zip | |
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
