Add a test for assignment whose lhs is exactly 100 chars
This commit is contained in:
parent
1952459278
commit
c2804589a1
2 changed files with 11 additions and 0 deletions
|
@ -45,6 +45,11 @@ some_ridiculously_loooooooooooooooooooooong_function(10000 * 30000000000 + 40000
|
|||
+ 2 + 3 {
|
||||
}
|
||||
|
||||
if let ast::ItemKind::Trait(_, unsafety, ref generics, ref type_param_bounds, ref trait_items) = item.node
|
||||
{
|
||||
// nothing
|
||||
}
|
||||
|
||||
let test = if true { 5 } else { 3 };
|
||||
|
||||
if cond() {
|
||||
|
|
|
@ -70,6 +70,12 @@ fn foo() -> bool {
|
|||
) = 1 + 2 + 3
|
||||
{}
|
||||
|
||||
if let ast::ItemKind::Trait(_, unsafety, ref generics, ref type_param_bounds, ref trait_items) =
|
||||
item.node
|
||||
{
|
||||
// nothing
|
||||
}
|
||||
|
||||
let test = if true { 5 } else { 3 };
|
||||
|
||||
if cond() {
|
||||
|
|
Loading…
Reference in a new issue