thiserror/tests
David Tolnay 9f27b766f5
Ignore elidable_lifetime_names pedantic clippy lint
warning: the following explicit lifetimes could be elided: 'a
     --> src/var.rs:5:6
      |
    5 | impl<'a, T: Pointer + ?Sized> Pointer for Var<'a, T> {
      |      ^^                                       ^^
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
      = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
      = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
    help: elide the lifetimes
      |
    5 - impl<'a, T: Pointer + ?Sized> Pointer for Var<'a, T> {
    5 + impl<T: Pointer + ?Sized> Pointer for Var<'_, T> {
      |

    warning: the following explicit lifetimes could be elided: 'a
      --> tests/test_lints.rs:40:22
       |
    40 |     pub enum MyError<'a> {
       |                      ^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
       = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
       = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
    help: elide the lifetimes
       |
    40 -     pub enum MyError<'a> {
    40 +     pub enum MyError'_> {
       |

    warning: the following explicit lifetimes could be elided: 'a
       --> tests/test_display.rs:157:14
        |
    157 |         impl<'a> Display for Msg<'a> {
        |              ^^                  ^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
        = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
    help: elide the lifetimes
        |
    157 -         impl<'a> Display for Msg<'a> {
    157 +         impl Display for Msg<'_> {
        |
2025-03-02 19:56:43 -08:00
..
no-std Allow disabling std dependency on 1.81+ 2024-11-05 21:46:11 -05:00
ui FIx typo in ui test 2024-12-21 10:20:21 -08:00
compiletest.rs Fill in ignore reasons in all #[ignore] attributes 2024-06-01 22:16:16 -07:00
test_backtrace.rs Disable two more integration tests in no-std mode 2025-01-10 10:00:21 -08:00
test_display.rs Ignore elidable_lifetime_names pedantic clippy lint 2025-03-02 19:56:43 -08:00
test_error.rs use core::fmt instead of std::fmt 2024-05-17 15:34:04 +02:00
test_expr.rs Fix unused import in test when built without std 2025-01-10 09:56:35 -08:00
test_from.rs Ignore extra_unused_type_parameters clippy lint in test 2023-02-10 19:17:59 -08:00
test_generics.rs Add regression test for issue 405 2025-01-08 11:43:18 -08:00
test_lints.rs Ignore elidable_lifetime_names pedantic clippy lint 2025-03-02 19:56:43 -08:00
test_option.rs Disable two more integration tests in no-std mode 2025-01-10 10:00:21 -08:00
test_path.rs Add feature gate to tests that use std 2025-01-10 18:43:36 +08:00
test_source.rs Add test of r#source that is not Error::source 2024-11-04 16:35:28 -05:00
test_transparent.rs Add test of transparent variant in enum with format args 2024-11-05 17:02:35 -05:00