From 6a87fd134ace5a09c44579e7498765610f6c96ea Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Sat, 14 Mar 2026 08:52:50 +0100 Subject: [PATCH] chore: Update snapshots --- .../expectations/stderr.txt | 17 +---------------- .../expectations/stderr.txt | 11 +---------- .../expectations/stderr.txt | 17 +---------------- .../expectations/stderr.txt | 17 +---------------- .../expectations/stderr.txt | 17 +---------------- 5 files changed, 5 insertions(+), 74 deletions(-) diff --git a/compiler/ui_tests/blueprint/error_handlers/generics_in_error_handlers_must_be_tied_to_the_error/expectations/stderr.txt b/compiler/ui_tests/blueprint/error_handlers/generics_in_error_handlers_must_be_tied_to_the_error/expectations/stderr.txt index a17d39f7d..c88b6e99e 100644 --- a/compiler/ui_tests/blueprint/error_handlers/generics_in_error_handlers_must_be_tied_to_the_error/expectations/stderr.txt +++ b/compiler/ui_tests/blueprint/error_handlers/generics_in_error_handlers_must_be_tied_to_the_error/expectations/stderr.txt @@ -22,11 +22,6 @@ โ”‚ ยท โ•ฐโ”€โ”€ ..because it is not used here โ”‚ 31 โ”‚ _generic_input: GenericType, โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete type(s) for the problematic generic parameter(s) - โ”‚ when registering the error handler against the blueprint: - โ”‚ | .error_handler( - โ”‚ | f!(my_crate::my_error_handler::) - โ”‚ | ) ERROR: ร— I am not smart enough to figure out the concrete type for all the generic โ”‚ parameters in `app::doubly_generic_error_handler`. @@ -52,11 +47,6 @@ โ”‚ ยท โ•ฐโ”€โ”€ ..because they are not used here โ”‚ 39 โ”‚ _i1: GenericType, โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete type(s) for the problematic generic parameter(s) - โ”‚ when registering the error handler against the blueprint: - โ”‚ | .error_handler( - โ”‚ | f!(my_crate::my_error_handler::) - โ”‚ | ) ERROR: ร— I am not smart enough to figure out the concrete type for all the generic โ”‚ parameters in `app::triply_generic_error_handler`. @@ -82,9 +72,4 @@ โ”‚ ยท  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ ยท โ•ฐโ”€โ”€ ..because they are not used here โ”‚ 48 โ”‚ _i1: GenericType, - โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete type(s) for the problematic generic parameter(s) - โ”‚ when registering the error handler against the blueprint: - โ”‚ | .error_handler( - โ”‚ | f!(my_crate::my_error_handler::) - โ”‚ | ) \ No newline at end of file + โ”‚ โ•ฐโ”€โ”€โ”€โ”€ \ No newline at end of file diff --git a/compiler/ui_tests/blueprint/error_observers/error_observers_input_parameters_cannot_be_generic/expectations/stderr.txt b/compiler/ui_tests/blueprint/error_observers/error_observers_input_parameters_cannot_be_generic/expectations/stderr.txt index a20fe3527..40cfa37ed 100644 --- a/compiler/ui_tests/blueprint/error_observers/error_observers_input_parameters_cannot_be_generic/expectations/stderr.txt +++ b/compiler/ui_tests/blueprint/error_observers/error_observers_input_parameters_cannot_be_generic/expectations/stderr.txt @@ -17,9 +17,6 @@ โ”‚ ยท โ•ฐโ”€โ”€ I can't infer this โ”‚ 8 โ”‚ todo!() โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete type(s) for the problematic generic parameter(s) - โ”‚ when registering the error observer against the blueprint: `f! - โ”‚ (my_crate::my_observer::)` ERROR: ร— All generic parameters must be assigned to a concrete type when you โ”‚ register an error observer, I can't infer them. @@ -40,9 +37,6 @@ โ”‚ ยท โ•ฐโ”€โ”€ I can't infer this โ”‚ 13 โ”‚ todo!() โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete type(s) for the problematic generic parameter(s) - โ”‚ when registering the error observer against the blueprint: `f! - โ”‚ (my_crate::my_observer::)` ERROR: ร— All generic parameters must be assigned to a concrete type when you โ”‚ register an error observer, I can't infer them. @@ -63,7 +57,4 @@ โ”‚ ยท โ”‚ โ•ฐโ”€โ”€ I can't infer this โ”‚ ยท โ•ฐโ”€โ”€ I can't infer this โ”‚ 18 โ”‚ _i1: GenericType, - โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete type(s) for the problematic generic parameter(s) - โ”‚ when registering the error observer against the blueprint: `f! - โ”‚ (my_crate::my_observer::)` \ No newline at end of file + โ”‚ โ•ฐโ”€โ”€โ”€โ”€ \ No newline at end of file diff --git a/compiler/ui_tests/blueprint/post_processing_middlewares/post_processing_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt b/compiler/ui_tests/blueprint/post_processing_middlewares/post_processing_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt index 1f8772203..e322ab1ab 100644 --- a/compiler/ui_tests/blueprint/post_processing_middlewares/post_processing_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt +++ b/compiler/ui_tests/blueprint/post_processing_middlewares/post_processing_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt @@ -18,11 +18,6 @@ โ”‚ ยท โ•ฐโ”€โ”€ The generic parameter without a concrete type โ”‚ 8 โ”‚ todo!() โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete type for `T` when registering the post-processing - โ”‚ middleware against the blueprint: - โ”‚ | bp.post_process( - โ”‚ | f!(my_crate::my_middleware::), - โ”‚ | ) ERROR: ร— I am not smart enough to figure out the concrete type for all the generic โ”‚ parameters in `app::doubly_generic`. @@ -45,11 +40,6 @@ โ”‚ ยท โ•ฐโ”€โ”€ The generic parameter without a concrete type โ”‚ 13 โ”‚ _response: Response, โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete types for `T` and `S` when registering the post- - โ”‚ processing middleware against the blueprint: - โ”‚ | bp.post_process( - โ”‚ | f!(my_crate::my_middleware::), - โ”‚ | ) ERROR: ร— I am not smart enough to figure out the concrete type for all the generic โ”‚ parameters in `app::triply_generic`. @@ -72,9 +62,4 @@ โ”‚ ยท โ”‚ โ•ฐโ”€โ”€ The generic parameter without a concrete type โ”‚ ยท โ•ฐโ”€โ”€ The generic parameter without a concrete type โ”‚ 22 โ”‚ _response: Response, - โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete types for `T`, `S` and `U` when registering the - โ”‚ post-processing middleware against the blueprint: - โ”‚ | bp.post_process( - โ”‚ | f!(my_crate::my_middleware::), - โ”‚ | ) \ No newline at end of file + โ”‚ โ•ฐโ”€โ”€โ”€โ”€ \ No newline at end of file diff --git a/compiler/ui_tests/blueprint/pre_processing_middlewares/pre_processing_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt b/compiler/ui_tests/blueprint/pre_processing_middlewares/pre_processing_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt index 0b150c67c..843e22b80 100644 --- a/compiler/ui_tests/blueprint/pre_processing_middlewares/pre_processing_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt +++ b/compiler/ui_tests/blueprint/pre_processing_middlewares/pre_processing_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt @@ -17,11 +17,6 @@ โ”‚ ยท โ•ฐโ”€โ”€ The generic parameter without a concrete type โ”‚ 9 โ”‚ todo!() โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete type for `T` when registering the pre-processing - โ”‚ middleware against the blueprint: - โ”‚ | bp.pre_process( - โ”‚ | f!(my_crate::my_middleware::), - โ”‚ | ) ERROR: ร— There must be no unassigned generic parameters in pre-processing โ”‚ middlewares, but `T` and `S` do not seem to have been assigned a concrete @@ -42,11 +37,6 @@ โ”‚ ยท โ•ฐโ”€โ”€ The generic parameter without a concrete type โ”‚ 14 โ”‚ todo!() โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete types for `T` and `S` when registering the pre- - โ”‚ processing middleware against the blueprint: - โ”‚ | bp.pre_process( - โ”‚ | f!(my_crate::my_middleware::), - โ”‚ | ) ERROR: ร— There must be no unassigned generic parameters in pre-processing โ”‚ middlewares, but `T`, `S` and `U` do not seem to have been assigned a @@ -67,9 +57,4 @@ โ”‚ ยท โ”‚ โ•ฐโ”€โ”€ The generic parameter without a concrete type โ”‚ ยท โ•ฐโ”€โ”€ The generic parameter without a concrete type โ”‚ 19 โ”‚ _i1: GenericType, - โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete types for `T`, `S` and `U` when registering the - โ”‚ pre-processing middleware against the blueprint: - โ”‚ | bp.pre_process( - โ”‚ | f!(my_crate::my_middleware::), - โ”‚ | ) \ No newline at end of file + โ”‚ โ•ฐโ”€โ”€โ”€โ”€ \ No newline at end of file diff --git a/compiler/ui_tests/blueprint/wrapping_middlewares/wrapping_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt b/compiler/ui_tests/blueprint/wrapping_middlewares/wrapping_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt index d06e28cf6..2fa81ee1a 100644 --- a/compiler/ui_tests/blueprint/wrapping_middlewares/wrapping_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt +++ b/compiler/ui_tests/blueprint/wrapping_middlewares/wrapping_middlewares_input_parameters_cannot_be_generic/expectations/stderr.txt @@ -19,11 +19,6 @@ โ”‚ ยท โ•ฐโ”€โ”€ The generic parameter without a concrete type โ”‚ 9 โ”‚ where โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete type for `T` when registering the wrapping - โ”‚ middleware against the blueprint: - โ”‚ | bp.wrap( - โ”‚ | f!(my_crate::my_middleware::), - โ”‚ | ) ERROR: ร— I am not smart enough to figure out the concrete type for all the generic โ”‚ parameters in `app::doubly_generic`. @@ -46,11 +41,6 @@ โ”‚ ยท โ•ฐโ”€โ”€ The generic parameter without a concrete type โ”‚ 17 โ”‚ where โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete types for `T` and `S` when registering the - โ”‚ wrapping middleware against the blueprint: - โ”‚ | bp.wrap( - โ”‚ | f!(my_crate::my_middleware::), - โ”‚ | ) ERROR: ร— I am not smart enough to figure out the concrete type for all the generic โ”‚ parameters in `app::triply_generic`. @@ -73,9 +63,4 @@ โ”‚ ยท โ”‚ The generic parameter without a concrete type โ”‚ ยท โ•ฐโ”€โ”€ The generic parameter without a concrete type โ”‚ 25 โ”‚ _next: Next, - โ”‚ โ•ฐโ”€โ”€โ”€โ”€ - โ”‚ help: Specify the concrete types for `T`, `S` and `U` when registering the - โ”‚ wrapping middleware against the blueprint: - โ”‚ | bp.wrap( - โ”‚ | f!(my_crate::my_middleware::), - โ”‚ | ) \ No newline at end of file + โ”‚ โ•ฐโ”€โ”€โ”€โ”€ \ No newline at end of file