about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-17 00:15:45 +0000
committerbors <bors@rust-lang.org>2020-12-17 00:15:45 +0000
commita6491be5be9344a325b7e49b0114f3cf67ef199e (patch)
treea6fee3a1b05833e4580aedd83e795f7a2e6ab078 /compiler/rustc_errors/src
parentb32e6e6ac8921035177256ab6806e6ab0d4b9b94 (diff)
parentcfc38d2d0892f0842dd50cd0bd889e9ae1ea7508 (diff)
downloadrust-a6491be5be9344a325b7e49b0114f3cf67ef199e.tar.gz
rust-a6491be5be9344a325b7e49b0114f3cf67ef199e.zip
Auto merge of #79790 - LeSeulArtichaut:issue-79683, r=lcnr
Take into account negative impls in "trait item not found" suggestions

This removes the suggestion to implement a trait for a type when that type already has a negative implementation for the trait, and replaces it with a note to point out that the trait is explicitely unimplemented, as suggested by `@scottmcm.`

Helps with #79683.

r? `@scottmcm` do you want to review this?
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions