From c2f869cd8b7e9b0e065205e90114cafd62156d50 Mon Sep 17 00:00:00 2001 From: mcmah309 Date: Sat, 20 Jul 2024 21:34:11 +0000 Subject: [PATCH] test: Update try_build error message --- tests/trybuild/depends_on_itself.stderr | 2 +- tests/trybuild/recursive_dependency.stderr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/trybuild/depends_on_itself.stderr b/tests/trybuild/depends_on_itself.stderr index 239dd31..0488339 100644 --- a/tests/trybuild/depends_on_itself.stderr +++ b/tests/trybuild/depends_on_itself.stderr @@ -1,4 +1,4 @@ -error: Recursive dependency: BookParsingError->BookParsingError +error: Cycle Detected: BookParsingError->BookParsingError --> tests/trybuild/depends_on_itself.rs:4:5 | 4 | BookParsingError = { diff --git a/tests/trybuild/recursive_dependency.stderr b/tests/trybuild/recursive_dependency.stderr index 0537cdc..5376e00 100644 --- a/tests/trybuild/recursive_dependency.stderr +++ b/tests/trybuild/recursive_dependency.stderr @@ -1,4 +1,4 @@ -error: Recursive dependency: MediaError->BookParsingError->BookSectionParsingError->BookParsingError +error: Cycle Detected: MediaError->BookParsingError->BookSectionParsingError->BookParsingError --> tests/trybuild/recursive_dependency.rs:7:5 | 7 | BookParsingError = {