rollup merge of #23580: nikomatsakis/pattern-and-overflow
This commit is contained in:
commit
bed77408df
11 changed files with 88 additions and 104 deletions
|
|
@ -33,7 +33,4 @@ fn main() {
|
|||
|
||||
0.contains(bits);
|
||||
//~^ ERROR overflow
|
||||
//~| ERROR overflow
|
||||
//~| ERROR overflow
|
||||
//~| ERROR mismatched types
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,12 +42,5 @@ fn is_send<T:Send>() { }
|
|||
fn main() {
|
||||
is_send::<A>();
|
||||
//~^ ERROR overflow evaluating
|
||||
//~^^ NOTE consider adding a `#![recursion_limit="20"]` attribute to your crate
|
||||
//~^^^ NOTE required by `is_send`
|
||||
//~^^^^ ERROR overflow evaluating
|
||||
//~^^^^^ NOTE consider adding a `#![recursion_limit="20"]` attribute to your crate
|
||||
//~^^^^^^ NOTE required by `is_send`
|
||||
//~^^^^^^^ ERROR overflow evaluating
|
||||
//~^^^^^^^^ NOTE consider adding a `#![recursion_limit="20"]` attribute to your crate
|
||||
//~^^^^^^^^^ NOTE required by `is_send`
|
||||
//~| NOTE consider adding a `#![recursion_limit="20"]` attribute to your crate
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue