about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-4935.rs
AgeCommit message (Collapse)AuthorLines
2017-12-14Move compile-fail tests with NOTE/HELP annotations to UIVadim Petrochenkov-17/+0
2016-12-01Point arg num mismatch errors back to their definitionJonathan Turner-1/+2
2016-09-04E0060 and E0061 improvementGuillaume Gomez-1/+0
2016-08-04Tidying up some of the line spacing / code formatting for NOTE/ERROR ↵William Lee-2/+3
annotation to match other files.
2016-08-04Fixes for issues #35215 and #35216William Lee-0/+1
2016-06-15Show types of all args when missing argsEsteban Küber-0/+1
When there're missing arguments in a function call, present a list of all the expected types: ```rust fn main() { t(""); } fn t(a: &str, x: String) {} ``` ```bash % rustc file.rs file.rs:3:5: 2:8 error: this function takes 2 parameters but 0 parameters were supplied [E0061] file.rs:3 t(); ^~~ file.rs:3:5: 2:8 help: run `rustc --explain E0061` to see a detailed explanation file.rs:3:5: 2:8 note: the following parameter types were expected: &str, std::string::String error: aborting due to previous error ``` Fixes #33649
2015-01-08Update compile fail tests to use usize.Huon Wilson-1/+1
2013-05-09Fix typosSean Moon-1/+1
2013-02-20fix ICE after incorrect number of args in callsKang Seonghoon-0/+14