diff options
| author | dianne <diannes.gm@gmail.com> | 2025-03-14 02:51:20 -0700 |
|---|---|---|
| committer | dianne <diannes.gm@gmail.com> | 2025-04-16 15:42:13 -0700 |
| commit | 4c4b61b730ee7b53918043ff403bbc8e2d6d0eb0 (patch) | |
| tree | 73c4ee92a53621afa32c1ffc3376a1a545f82a57 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | ff0d4bc743086111c841812ec9925efb075d1243 (diff) | |
| download | rust-4c4b61b730ee7b53918043ff403bbc8e2d6d0eb0.tar.gz rust-4c4b61b730ee7b53918043ff403bbc8e2d6d0eb0.zip | |
add a feature gate test
Implicit deref patterns allow previously ill-typed programs. Make sure they're still ill-typed without the feature gate. I've thrown in a test for `deref!(_)` too, though it seems it refers to `deref_patterns` as a library feature.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
