Fix some minor errors in diagnostic text. (#3047)

This commit is contained in:
Richard Smith
2023-08-02 18:17:16 +00:00
committed by GitHub
parent 0c33dead70
commit 90d2d7ef65
8 changed files with 10 additions and 9 deletions
@@ -67,7 +67,7 @@ fn Main() {
// CHECK:STDERR: fail_param_type.carbon:[[@LINE+6]]:6: No matching callable was found.
// CHECK:STDERR: Run(1.0);
// CHECK:STDERR: ^
// CHECK:STDERR: fail_param_type.carbon:[[@LINE-6]]:1: Function cannot be used: Cannot implicityly convert argument 0 from `f64` to `i32`.
// CHECK:STDERR: fail_param_type.carbon:[[@LINE-6]]:1: Function cannot be used: Cannot implicitly convert argument 0 from `f64` to `i32`.
// CHECK:STDERR: fn Run(a: i32) {}
// CHECK:STDERR: ^
Run(1.0);