diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-19 00:08:44 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-19 00:08:44 +0100 |
commit | 7570212a544b8e973a7d57be3657aae6465028a7 (patch) | |
tree | 9f01d4563413e95e0b743b991f2a6ff522db889d /crates/hir_ty/src/tests/display_source_code.rs | |
parent | d39873e88b12b6c6c56bed530500baf07bf3391f (diff) | |
parent | 20c27dbdbe3116be205d66af88e6f5ac88b862d3 (diff) |
Merge #8569
8569: Support inherent impls in unnamed consts r=jonas-schievink a=jonas-schievink
It turns out that some proc. macros not only generate *trait* impls wrapped in `const _: () = { ... };`, but inherent impls too. Even though it is questionable whether *custom derives* should produce non-trait impls, this is useful for procedural attribute macros once we support them.
bors r+
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/tests/display_source_code.rs')
0 files changed, 0 insertions, 0 deletions