update tests
This commit is contained in:
parent
9613f487ae
commit
a6aeba83be
@ -4,6 +4,7 @@ error[E0275]: overflow evaluating the requirement `W<_>: Trait`
|
||||
LL | impls::<W<_>>();
|
||||
| ^^^^
|
||||
|
|
||||
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`fixpoint_exponential_growth`)
|
||||
note: required by a bound in `impls`
|
||||
--> $DIR/fixpoint-exponential-growth.rs:30:13
|
||||
|
|
||||
|
@ -1,6 +1,7 @@
|
||||
//~ ERROR overflow evaluating the requirement `Self: Trait`
|
||||
//~^ ERROR overflow evaluating the requirement `Self well-formed`
|
||||
// This is a non-regression test for issue #115351, where a recursion limit of 0 caused an ICE.
|
||||
//@ compile-flags: -Znext-solver --crate-type=lib
|
||||
//@ check-pass
|
||||
|
||||
#![recursion_limit = "0"]
|
||||
trait Trait {}
|
||||
|
@ -0,0 +1,11 @@
|
||||
error[E0275]: overflow evaluating the requirement `Self: Trait`
|
||||
|
|
||||
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "2"]` attribute to your crate (`recursion_limit_zero_issue_115351`)
|
||||
|
||||
error[E0275]: overflow evaluating the requirement `Self well-formed`
|
||||
|
|
||||
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "2"]` attribute to your crate (`recursion_limit_zero_issue_115351`)
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
|
||||
For more information about this error, try `rustc --explain E0275`.
|
Loading…
Reference in New Issue
Block a user