This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-01 12:37:37 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
901b340c1f
rust
/
tests
/
ui
/
methods
/
issue-19521.rs
4 lines
74 B
Rust
Raw
Normal View
History
Unescape
Escape
typeck: Make the supplied parameters to be a tuple When a type error occurs, check_method_argument_types() tries to provide arguments filled with ty::mk_err(). However, if a function takes the parameters as a tuple, the arguments should be converted to a tuple before being passed to check_argument_types(). Fixes #19521.
2014-12-08 07:28:14 +00:00
fn
main
(
)
{
Fix ICE that occurs when an associated const is ambiguous. Also change several error messages to refer to "items" rather than "methods", since associated items that require resolution during type checking are not always methods.
2015-05-03 05:30:59 +00:00
"
"
.
homura
(
)
(
)
;
//~ ERROR no method named `homura` found
typeck: Make the supplied parameters to be a tuple When a type error occurs, check_method_argument_types() tries to provide arguments filled with ty::mk_err(). However, if a function takes the parameters as a tuple, the arguments should be converted to a tuple before being passed to check_argument_types(). Fixes #19521.
2014-12-08 07:28:14 +00:00
}
Reference in New Issue
Copy Permalink