Skip to content

test: Add two tests for issue #6272. - #6376

Closed
nikomatsakis wants to merge 1 commit into
rust-lang:incomingfrom
nikomatsakis:issue-6272-tests
Closed

test: Add two tests for issue #6272.#6376
nikomatsakis wants to merge 1 commit into
rust-lang:incomingfrom
nikomatsakis:issue-6272-tests

Conversation

@nikomatsakis

Copy link
Copy Markdown
Contributor

@borsbors closed this May 11, 2013
@nikomatsakis
nikomatsakis deleted the issue-6272-tests branch March 30, 2016 16:15
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6376: Avoid impls_fnonce to return true when the trait solving is ambiguous r=flodiebold a=GrayJack
This PR should fixrust-lang#6375 This adds a variation of `method_resolution::implements_trait` called `method_resolution::implements_trait_unique`, that only returns true when the trait solving is unique, and also change `impls_fnonce` to use the later instead.
I also added a test just to be sure.
Co-authored-by: GrayJack <gr41.j4ck@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@nikomatsakis@graydon@bors