about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-08-28 19:12:52 -0700
committerGitHub <noreply@github.com>2024-08-28 19:12:52 -0700
commitd2418cb888bd3c6c3615ea2aac8ae6897468f817 (patch)
tree938a5465a04a821a95c28632a2ec4ccb3ec01120 /compiler/rustc_pattern_analysis/src/errors.rs
parent9d5f7943122e7f09fbeaba29147b0a9e7d2716fe (diff)
parent39148351bd919d16920b00e0bd70203b73db53bb (diff)
downloadrust-d2418cb888bd3c6c3615ea2aac8ae6897468f817.tar.gz
rust-d2418cb888bd3c6c3615ea2aac8ae6897468f817.zip
Rollup merge of #129467 - dingxiangfei2009:smart-pointer-relax-pointee, r=compiler-errors
derive(SmartPointer): assume pointee from the single generic and better error messages

Fix #129465

Actually RFC says that `#[pointee]` can be inferred when there is no ambiguity, or there is only one generic type parameter so to say.

cc ```@Darksonn```

r? ```@compiler-errors```
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions