diff options
| author | Michael Goulet <michael@errs.io> | 2024-05-02 13:51:13 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-05-02 21:56:14 -0400 |
| commit | 34e91ece9033d0a354f1a42a67a69df9b46a27b0 (patch) | |
| tree | 40199909d21e833dc051b0042cd3a0b677a26ecf /tests/ui/traits/next-solver/overflow | |
| parent | 3e03b1b19081ad50de2af5635e9fd9fb9f3489bc (diff) | |
| download | rust-34e91ece9033d0a354f1a42a67a69df9b46a27b0.tar.gz rust-34e91ece9033d0a354f1a42a67a69df9b46a27b0.zip | |
Higher ranked goal source, do overflow handling less badly
Diffstat (limited to 'tests/ui/traits/next-solver/overflow')
| -rw-r--r-- | tests/ui/traits/next-solver/overflow/global-cache.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/traits/next-solver/overflow/global-cache.stderr b/tests/ui/traits/next-solver/overflow/global-cache.stderr index 1ef86abcebe..9e467721e83 100644 --- a/tests/ui/traits/next-solver/overflow/global-cache.stderr +++ b/tests/ui/traits/next-solver/overflow/global-cache.stderr @@ -5,14 +5,14 @@ LL | impls_trait::<Four<Four<Four<Four<()>>>>>(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider increasing the recursion limit by adding a `#![recursion_limit = "18"]` attribute to your crate (`global_cache`) -note: required for `Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<()>>>>>>>>>>>>>` to implement `Trait` +note: required for `Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<()>>>>>>>>>>>` to implement `Trait` --> $DIR/global-cache.rs:12:16 | LL | impl<T: Trait> Trait for Inc<T> {} | ----- ^^^^^ ^^^^^^ | | | unsatisfied trait bound introduced here - = note: 3 redundant requirements hidden + = note: 5 redundant requirements hidden = note: required for `Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<()>>>>>>>>>>>>>>>>` to implement `Trait` note: required by a bound in `impls_trait` --> $DIR/global-cache.rs:15:19 |
