diff options
| author | dianne <diannes.gm@gmail.com> | 2025-03-26 06:37:56 -0700 |
|---|---|---|
| committer | dianne <diannes.gm@gmail.com> | 2025-03-26 10:10:28 -0700 |
| commit | 0a05677d22825f66018361c3b6a55148bfc85650 (patch) | |
| tree | ae31db70140fca3bfe15e4046f1f8b3e394a0ee8 /src/doc/rustc-dev-guide/examples/rustc-interface-example.rs | |
| parent | 65899c06f117ddac9c8399479ddcdc122c92fddf (diff) | |
| download | rust-0a05677d22825f66018361c3b6a55148bfc85650.tar.gz rust-0a05677d22825f66018361c3b6a55148bfc85650.zip | |
`lower_pat_expr`: use the pattern's type instead of the literal's
This allows us to remove the field `treat_byte_string_as_slice` from `TypeckResults`, since the pattern's type contains everything necessary to get the correct lowering for byte string literal patterns. This leaves the implementation of `string_deref_patterns` broken, to be fixed in the next commit.
Diffstat (limited to 'src/doc/rustc-dev-guide/examples/rustc-interface-example.rs')
0 files changed, 0 insertions, 0 deletions
