This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
990039ec53
rust
/
tests
/
ui
/
issues
/
issue-15965.rs
8 lines
103 B
Rust
Raw
Normal View
History
Unescape
Escape
Change method lookup to require invariance for mutable references Fixes #17033. Fixes #15965.
2014-09-09 02:15:30 +02:00
fn
main
(
)
{
Update tests with the new error messages
2014-10-24 21:17:50 +02:00
return
Three random test cases that seem to produce more errors now. I've not dug deeply into what is going on here, although the errors ARE somewhat surprising.
2014-12-18 22:17:16 -05:00
{
return
(
)
}
inform type annotations
2018-02-14 11:06:08 +08:00
//~^ ERROR type annotations needed [E0282]
Implement the `Fn` trait for bare fn pointers in the compiler rather than doing it using hard-coded impls. This means that it works also for more complex fn types involving bound regions. Fixes #19126.
2014-12-01 09:23:40 -05:00
(
)
Update tests with the new error messages
2014-10-24 21:17:50 +02:00
;
Change method lookup to require invariance for mutable references Fixes #17033. Fixes #15965.
2014-09-09 02:15:30 +02:00
}
Copy permalink