Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCoercion to an unspecified but easily inferrable raw pointer (`as *const _`) has regressed #23699
Comments
This comment has been minimized.
This comment has been minimized.
steveklabnik
added
the
A-typesystem
label
Mar 26, 2015
Marwes
referenced this issue
Mar 27, 2015
Closed
Build broken on latest Rust nightly (27901849e 2015-03-25) #25
This comment has been minimized.
This comment has been minimized.
|
Smaller test case of what I believe to be the same bug. fn test<T>(t: T) { }
fn main() {
let t = test as fn (i32);
t(0i32);
}I don't have any knowledge of the inner workings of rustc but it seems that |
brson
added
E-help-wanted
E-needstest
labels
Nov 17, 2016
This comment has been minimized.
This comment has been minimized.
|
Both examples seem to work. Just add them to the test suite. |
brson
added
the
E-easy
label
Nov 17, 2016
This comment has been minimized.
This comment has been minimized.
|
I can do that |
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Nov 22, 2016
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Nov 23, 2016
bors
closed this
in
#37851
Nov 23, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
chris-morgan commentedMar 25, 2015
A couple of days ago it was all working fine, but in a fresh build (
rustc 1.0.0-dev (593db005d 2015-03-25) (built 2015-03-25)) trouble is happening: