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

Tweak error message to suggest adding an owned bound #2994

Closed
jruderman opened this issue Jul 23, 2012 · 2 comments
Closed

Tweak error message to suggest adding an owned bound #2994

jruderman opened this issue Jul 23, 2012 · 2 comments
Labels
A-lifetimes Area: Lifetimes / regions A-type-system Area: Type system

Comments

@jruderman
Copy link
Contributor

In error messages, consider changing

use `owned` bound

to

add `owned` bound

as a subtle hint that you can have more than one bound. (cf #2991, #2993)

@nikomatsakis
Copy link
Contributor

Not critical for 0.6; removing milestone

@graydon
Copy link
Contributor

graydon commented May 8, 2013

sure. easy fix. patch in the queue, #6340

RalfJung pushed a commit to RalfJung/rust that referenced this issue Jul 29, 2023
celinval added a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Use FnAbi instead of function signature when generating code for
function types. Properly check the `PassMode::Ignore`. For foreign
functions, instead of ignoring the declaration type, cast the arguments
and return value.

For now, we also ignore the caller location, since we don't currently
support tracking caller location. This change makes it easier for us to
do so. We might want to wait for this issue to get fixed so we can
easily add support using stable APIs:
rust-lang/project-stable-mir#62

Resolves rust-lang#2260
Resolves rust-lang#2312
Resolves rust-lang#1365
Resolves rust-lang#1350
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lifetimes Area: Lifetimes / regions A-type-system Area: Type system
Projects
None yet
Development

No branches or pull requests

3 participants