about summary refs log tree commit diff
path: root/tests/ui/methods.stderr
AgeCommit message (Collapse)AuthorLines
2019-12-28Add real suggestion to option_map_unwrap_orMicha Ober-113/+12
2019-10-18Split out testsHeinz N. Gies-9/+1
2019-10-15Change lint to be pedanticJames Wang-24/+24
2019-10-14new lints around `#[must_use]` fnsAndre Bogus-24/+24
`must_use_unit` lints unit-returning functions with a `#[must_use]` attribute, suggesting to remove it. `double_must_use` lints functions with a plain `#[must_use]` attribute, but which return a type which is already `#[must_use]`, so the attribute has no benefit. `must_use_candidate` is a pedantic lint that lints functions and methods that return some non-unit type that is not already `#[must_use]` and suggests to add the annotation.
2019-09-03Try to fix .fixedBO41-25/+31
2019-08-29Dereference one less on search_is_some and make it auto-fixableBO41-29/+36
2019-08-20Remove feature gate for async_awaitLzu Tao-21/+21
2019-08-09fixed tests (again) and added a test that should actually cause a warning ↵Lukas Markeffsky-21/+31
for new_ret_no_self
2019-08-09removed unused imports #2Lukas Markeffsky-20/+20
2019-08-09removed unused importsLukas Markeffsky-20/+20
2019-08-09upgrade test to rust 2018Lukas Markeffsky-20/+20
2019-08-09new_ret_no_self: walk associated types in impl Trait return typesLukas Markeffsky-20/+20
2019-08-01UI Test Cleanup: No wrong_self_convention in methods.rsPhilipp Hansch-41/+21
These cases are already covered in `tests/ui/wrong_self_convention.rs`. cc #2038
2019-06-02Fix .map(..).unwrap_or_else(..) bad suggestionMichael Wright-9/+9
Closes #4144
2019-05-01change |&x| to |x| in stderr fileairt-1/+1
2019-04-18Add run-rustfix for option_map_or_none lintPhilipp Hansch-44/+20
2019-04-11UI test cleanup: Extract iter_nth testsPhilipp Hansch-54/+10
2019-04-11UI test cleanup: Extract or_fun_call testsPhilipp Hansch-83/+9
2019-03-10Update testsflip1995-47/+47
2019-02-26Fix false negativeWilco Kusee-34/+42
2019-02-26Only suggest map_or for copy typesWilco Kusee-33/+33
2019-02-22rustfmt tests/ui/methods.rsMichael Wright-47/+49
2019-02-22Add `#[rustfmt::skip]` to methods testsMichael Wright-39/+39
Many people run rustfmt automatically on save. Format-dependent tests should be marked with `#[rustfmt::skip]` to prevent accidental reformatting from this. As a bonus the rest of the code can the formatted.
2019-01-08Remove all copyright license headersPhilipp Hansch-43/+43
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2019-01-02Use compiletest's aux-build header instead of include macroPhilipp Hansch-43/+43
2019-01-02Extract IteratorFalsePositives into option_helpers.rsPhilipp Hansch-28/+28
This was previously duplicated in #3605
2019-01-02UI test cleanup: Extract lint from methods.rs testPhilipp Hansch-76/+44
2018-12-30UI test cleanup: Extract iter_skip_next from methods.rsPhilipp Hansch-28/+2
cc #2038
2018-12-28Merge new_without_default_derive into new_without_defaultRussell Greene-50/+50
2018-12-28Update *.stderr filesflip1995-286/+286
2018-12-09update line numbers of testsMatthias Krüger-147/+147
2018-11-02UI test cleanup: Extract expect_fun_call testsPhilipp Hansch-81/+25
Note that the new stderr file does not include a `shadow-unrelated` error, because the new UI test file does not use `#![warn(clippy::all)]`
2018-10-27Don't expand macro in or_fun_call suggestionPhilipp Hansch-1/+1
2018-10-13Removed new_ret_no_self tests from method.rsJosh Mcguigan-10/+2
2018-10-10Fix #2937Michael Wright-27/+39
2018-10-06Add license header to Rust filesManish Goregaokar-163/+163
2018-08-29Adapt the *.stderr files of the ui-tests to the tool_lintsflip1995-15/+15
2018-08-14Move shadow_unrelated to pedanticDale Wijnand-1/+19
2018-08-02Fix #2979Michael Wright-24/+24
2018-07-15Fix #2894Michael Wright-93/+1
2018-06-14Fix some existing test expectationsDaniel Wagner-Hall-187/+187
2018-06-05Extracting arguments to format to pass directly to panic when appropriateDonald Robertson-2/+2
2018-06-04Adding handling and tests for custom type with implemented expect methodDonald Robertson-32/+32
2018-06-04Ensuring correct lint message is output for Option and Result typeDonald Robertson-2/+2
2018-06-04Warn if non-trivial work is done inside .expectDonald Robertson-25/+51
- added tests for common usages of format and as_str arguments to expect - added tests for usages of Option and Result types - given performance impact of passing non literal expressions to expect, added to perf group
2018-04-12Move unnecessary_fold UI tests to separate filePhilipp Hansch-35/+3
2018-02-21Stop unwanted newlines being applied on unwrap_orbootandy-18/+18
2018-02-19Fix: point to correct problem part of codebootandy-18/+18
Fix span so it no longer contains the whole train-wreck of code and only points to the problem function (for the unwrap_or lint). https://github.com/rust-lang-nursery/rust-clippy/issues/2422 Update ui test methods - it had several cases where the error message span is now shorter
2018-01-22Fix unnecessary_fold bugPhil Ellison-2/+2
2018-01-19Update error countOliver Schneider-1/+1