diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2022-03-19 02:03:37 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2022-03-19 02:03:37 -0700 |
| commit | 1338a45d9814b031466753a99a58ca688014f9cf (patch) | |
| tree | 21119ff0f9bc902dd71f63f96878caae34ca7234 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | 31535841701e0bf7ef33998024376f2cedd8b3e3 (diff) | |
| download | rust-1338a45d9814b031466753a99a58ca688014f9cf.tar.gz rust-1338a45d9814b031466753a99a58ca688014f9cf.zip | |
Give more details in `Display` for `hir::Target`
Made because I was making a code change and got a very confusing "should be applied to a method, not a method" error.
```
error[E0718]: `into_try_type` language item must be applied to a method
--> library\core\src\ops\try_trait.rs:352:32
|
352 | #[cfg_attr(not(bootstrap), lang = "into_try_type")]
| ^^^^^^^^^^^^^^^^^^^^^^ attribute should be applied to a method, not a method
```
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
