-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Wrong types reported in some let binding type errors #546
Labels
A-type-system
Area: Type system
Comments
Probably the same as #516 |
Closing this as a dupe then. |
keeperofdakeys
pushed a commit
to keeperofdakeys/rust
that referenced
this issue
Dec 12, 2017
Add support for the `accept4` system call for FreeBSD* & NetBSD* As outlined in rust-lang#540. However since support for this system call seems to be committed, but not yet released in NetBSD & BitRig (is BitRig actually still be developed at all, btw?), I'm not sure whether it wouldn't be a better idea to only add OpenBSD support instead? What's the official policy on this?
kazcw
pushed a commit
to kazcw/rust
that referenced
this issue
Oct 23, 2018
pdietl
pushed a commit
to pdietl/rust
that referenced
this issue
Apr 23, 2020
Document `type_length_limit`.
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Feb 10, 2022
Add lint `transmute_undefined_repr` Partially implements rust-lang#3999 and rust-lang#546 This doesn't consider `enum`s at all right now as those are going to be a pain to deal with. This also allows `#[repr(Rust)]` structs with only one non-zero sized fields. I think those are technically undefined when transmuted. changelog: Add lint `transmute_undefined_repr`
ZuseZ4
pushed a commit
to EnzymeAD/rust
that referenced
this issue
Mar 7, 2023
celinval
pushed a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to compile the program
fn main() {
auto b = "hi";
let int i = b;
}
Results in the error:
error: mismatched types: expected str but found str (types differ)
The text was updated successfully, but these errors were encountered: