You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/libtest2/tests/ui/unsupported_parameter.stderr
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,8 @@ error[E0308]: mismatched types
8
8
| arguments to this function are incorrect
9
9
|
10
10
note: function defined here
11
-
--> tests/ui/unsupported_parameter.rs:4:1
11
+
--> tests/ui/unsupported_parameter.rs:5:4
12
12
|
13
-
4 | #[libtest2::test]
14
-
| ^^^^^^^^^^^^^^^^^
15
13
5 | fn takes_integer(_: i32) {}
16
-
| ------
14
+
| ^^^^^^^^^^^^^ ------
17
15
= note: this error originates in the macro `$crate::_private::test_parse` which comes from the expansion of the attribute macro `libtest2::test` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments