summaryrefslogtreecommitdiffstats
path: root/tests/ui/borrowck/issue-92157.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/borrowck/issue-92157.rs')
-rw-r--r--tests/ui/borrowck/issue-92157.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/borrowck/issue-92157.rs b/tests/ui/borrowck/issue-92157.rs
index 6ee2320a6..3a6f8908b 100644
--- a/tests/ui/borrowck/issue-92157.rs
+++ b/tests/ui/borrowck/issue-92157.rs
@@ -9,7 +9,7 @@ extern {}
#[lang = "start"]
fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const u8) -> isize {
- //~^ ERROR: incorrect number of parameters for the `start` lang item
+ //~^ ERROR lang item `start` function has wrong type [E0308]
40+2
}