This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
2fcea9fb68c8e04f10e5cb15bbfb486de9800afa
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 16:28:14 +09: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-02 23:30:59 -06: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 16:28:14 +09:00
}
Reference in New Issue
Copy Permalink