| #![deny(ambiguous_negative_literals)] |
| //~^ ERROR `-` has lower precedence than method calls |
| //~^ ERROR `-` has lower precedence than method calls |
| //~^ ERROR `-` has lower precedence than method calls |
| //~^ ERROR `-` has lower precedence than method calls |
| //~^ ERROR `-` has lower precedence than method calls |
| //~^ ERROR `-` has lower precedence than method calls |
| let _ = -1.0_f64.cos().cos(); |
| //~^ ERROR `-` has lower precedence than method calls |
| let _ = -1.0_f64.cos().sin(); |
| //~^ ERROR `-` has lower precedence than method calls |
| let _ = -1.0_f64.sin().cos(); |
| //~^ ERROR `-` has lower precedence than method calls |
| let _ = -1f64.sin().sin(); |
| //~^ ERROR `-` has lower precedence than method calls |
| //~^ ERROR `-` has lower precedence than method calls |