about summary refs log tree commit diff
path: root/tests/rustdoc/const-generics/const-impl.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-30 22:47:48 +0000
committerbors <bors@rust-lang.org>2023-10-30 22:47:48 +0000
commita395214a3a88be976eec9256987d5eb6b3584bdc (patch)
tree75dc2f849e7691d290035d59a33060c31688b670 /tests/rustdoc/const-generics/const-impl.rs
parent31bc7e2c47e82798a392c770611975a6883132c8 (diff)
parentb8a8ba9c919b76ef1e51ee42f1c7182fd1ac20cd (diff)
downloadrust-a395214a3a88be976eec9256987d5eb6b3584bdc.tar.gz
rust-a395214a3a88be976eec9256987d5eb6b3584bdc.zip
Auto merge of #116405 - estebank:issue-103155, r=davidtwco
Detect object safety errors when assoc type is missing

When an associated type with GATs isn't specified in a `dyn Trait`, emit an object safety error instead of only complaining about the missing associated type, as it will lead the user down a path of three different errors before letting them know that what they were trying to do is impossible to begin with.

Fix #103155.
Diffstat (limited to 'tests/rustdoc/const-generics/const-impl.rs')
0 files changed, 0 insertions, 0 deletions