diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2020-01-22 18:54:04 -0500 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2020-02-10 14:44:12 -0500 |
| commit | 88747ffe6344e074b52727d8bcf2416032c2d3f2 (patch) | |
| tree | 34a4b16afac48dd436a394425a879a99661a079d /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | e6ec0d125eba4074122b187032474b4174fb9d31 (diff) | |
| download | rust-88747ffe6344e074b52727d8bcf2416032c2d3f2.tar.gz rust-88747ffe6344e074b52727d8bcf2416032c2d3f2.zip | |
Add `#[repr(no_niche)]`.
This repr-hint makes a struct/enum hide any niche within from its surrounding type-construction context. It is meant (at least initially) as an implementation detail for resolving issue 68303. We will not stabilize the repr-hint unless someone finds motivation for doing so. (So, declaration of `no_niche` feature lives in section of file where other internal implementation details are grouped, and deliberately leaves out the tracking issue number.) incorporated review feedback, and fixed post-rebase.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
