Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect use of traits::SizedReturnType #47830

Closed
Zoxc opened this issue Jan 28, 2018 · 2 comments
Closed

Incorrect use of traits::SizedReturnType #47830

Zoxc opened this issue Jan 28, 2018 · 2 comments
Labels
C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@Zoxc
Copy link
Contributor

Zoxc commented Jan 28, 2018

let cause = traits::ObligationCause::new(span, self.body_id, traits::SizedReturnType);

There is no return in sight here.

@Zoxc Zoxc added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jan 28, 2018
@kennytm
Copy link
Member

kennytm commented Jan 28, 2018

SizedReturnType was introduced in #42850. Previously it was ReturnType introduced in #35091 (d92e594#diff-1d1b0d29a2e8da97c6bfb6e364d920c7R1652)

@TimNN TimNN added the C-bug Category: This is a bug. label Jan 30, 2018
@Enselic
Copy link
Member

Enselic commented Jul 23, 2023

This issue can be closed because this was fixed in 5b279c8#diff-98923b31651a0150fc5eae47f5ceb44f716b521762db4e37cf9292dac7b3e040

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants