<commit_before>// FIXME should be in run-pass

// -*- rust -*-

// error-pattern: Non-boolean return type

// this checks that a pred with a non-bool return
// type is rejected, even if the pred is never used

pure fn bad(a: int) -> int { ret 37; }

fn main() { }
<commit_msg>Remove an outdated FIXME, change to use the new //! ERROR syntax<commit_after>// this checks that a pred with a non-bool return
// type is rejected, even if the pred is never used

pure fn bad(a: int) -> int { ret 37; } //! ERROR Non-boolean return type

fn main() { }

{'fraction_non_alphanumeric': 0.12110091743119267, 'fraction_numerical': 0.007339449541284404, 'mean_word_length': 2.9280575539568345, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5267462', 'n_tokens_mistral': 171, 'n_tokens_neox': 165, 'n_words': 82}