Skip to content

Commit 1f6e396

Browse files
authored
Merge pull request #764 from rust-lang/remove-clippy-suspicious-else-formatting
Stop ignoring the clippy lint suspicious_else_formatting
2 parents 1c8a353 + 0127601 commit 1f6e396

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/intrinsic/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,6 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tc
272272
.or_else(|| get_simple_function_f128(self, name))
273273
.or_else(|| get_simple_function_f128_2args(self, name));
274274

275-
// FIXME(tempdragon): Re-enable `clippy::suspicious_else_formatting` if the following issue is solved:
276-
// https://github.com/rust-lang/rust-clippy/issues/12497
277-
// and leave `else if use_integer_compare` to be placed "as is".
278-
#[allow(clippy::suspicious_else_formatting)]
279275
let value = match name {
280276
_ if simple.is_some() => {
281277
let func = simple.expect("simple intrinsic function");

0 commit comments

Comments
 (0)