]> git.lizzy.rs Git - rust.git/commitdiff
Update tests with new casing
authorRyan Levick <me@ryanlevick.com>
Thu, 3 Jun 2021 08:39:13 +0000 (10:39 +0200)
committerRyan Levick <me@ryanlevick.com>
Thu, 3 Jun 2021 08:39:13 +0000 (10:39 +0200)
src/test/ui/lint/force-warn/force-allowed-by-default-lint.stderr
src/test/ui/lint/force-warn/force-allowed-deny-by-default-lint.stderr
src/test/ui/lint/force-warn/force-allowed-warning.stderr
src/test/ui/lint/force-warn/force-deny-by-default-lint.stderr
src/test/ui/lint/force-warn/force-lint-allow-all-warnings.stderr
src/test/ui/lint/force-warn/force-lint-group-allow-all-warnings.stderr
src/test/ui/lint/force-warn/force-lint-in-allowed-group.stderr
src/test/ui/lint/force-warn/force-warn-group-allow-warning.stderr
src/test/ui/lint/force-warn/force-warn-group.stderr

index 24ccfe6107738a2e39d432ad02197fb84b7db57f..0e0e934c7655f5796d4b2ace32b2a18a62913552 100644 (file)
@@ -4,7 +4,7 @@ warning: hidden lifetime parameters in types are deprecated
 LL | fn foo(x: &Foo) {}
    |            ^^^- help: indicate the anonymous lifetime: `<'_>`
    |
-   = note: Warning forced by `force-warns` commandline option
+   = note: warning forced by `force-warns` commandline option
 
 warning: 1 warning emitted
 
index abaf424e532d30a2e181754845e4860d776722d6..bad12f94b18053cec336742f321f7ce3b1e37b2c 100644 (file)
@@ -6,7 +6,7 @@ LL | const C: i32 = 1 / 0;
    |                |
    |                attempt to divide `1_i32` by zero
    |
-   = note: Warning forced by `force-warns` commandline option
+   = note: warning forced by `force-warns` commandline option
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
 
index 9ae32e89a98d2ad2900e67d3a177a957fcb7192a..145798a32a9eff5c8aa051de6e9d8f30087c6c71 100644 (file)
@@ -4,7 +4,7 @@ warning: function is never used: `dead_function`
 LL | fn dead_function() {}
    |    ^^^^^^^^^^^^^
    |
-   = note: Warning forced by `force-warns` commandline option
+   = note: warning forced by `force-warns` commandline option
 
 warning: 1 warning emitted
 
index a1905034f5b5f28a417974bf68914f033db445b2..4b004cf367d94cb4b525ac4c866762bfeb779835 100644 (file)
@@ -6,7 +6,7 @@ LL | const C: i32 = 1 / 0;
    |                |
    |                attempt to divide `1_i32` by zero
    |
-   = note: Warning forced by `force-warns` commandline option
+   = note: warning forced by `force-warns` commandline option
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
 
index dc9af8997b28f813ae47177e8b7d8ff4e7434e19..577dbe1fea8df452eddc5de2cef378ee62c8ea0e 100644 (file)
@@ -4,7 +4,7 @@ warning: function is never used: `dead_function`
 LL | fn dead_function() {}
    |    ^^^^^^^^^^^^^
    |
-   = note: Warning forced by `force-warns` commandline option
+   = note: warning forced by `force-warns` commandline option
 
 warning: 1 warning emitted
 
index 3965d5ca2385d0bb3fcab78efc2d245161b83d1c..8665fa2610a3a08f392f08dad25ee59ca240a08d 100644 (file)
@@ -4,7 +4,7 @@ warning: function `FUNCTION` should have a snake case name
 LL | pub fn FUNCTION() {}
    |        ^^^^^^^^ help: convert the identifier to snake case: `function`
    |
-   = note: Warning forced by `force-warns` commandline option
+   = note: warning forced by `force-warns` commandline option
 
 warning: 1 warning emitted
 
index a28b14ebc9b118b162d4e1975066d2e5caa0aaf7..40750ffea8c87f2b717c4d92e39f29f28a8e9947 100644 (file)
@@ -4,7 +4,7 @@ warning: trait objects without an explicit `dyn` are deprecated
 LL | pub fn function(_x: Box<SomeTrait>) {}
    |                         ^^^^^^^^^ help: use `dyn`: `dyn SomeTrait`
    |
-   = note: Warning forced by `force-warns` commandline option
+   = note: warning forced by `force-warns` commandline option
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
 
index f57dd1e70dc0a073c558bb545b25ad4109bbce94..88ae846caa0a940e5507ca889975b61f50feeae2 100644 (file)
@@ -4,7 +4,7 @@ warning: trait objects without an explicit `dyn` are deprecated
 LL | pub fn function(_x: Box<SomeTrait>) {}
    |                         ^^^^^^^^^ help: use `dyn`: `dyn SomeTrait`
    |
-   = note: Warning forced by `force-warns` commandline option
+   = note: warning forced by `force-warns` commandline option
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
 
index f2b0ce04b541b4b45638657a3437628b5b5089c5..f808727991ed45da83e17d5f4a8262b09316346e 100644 (file)
@@ -4,7 +4,7 @@ warning: trait objects without an explicit `dyn` are deprecated
 LL | pub fn function(_x: Box<SomeTrait>) {}
    |                         ^^^^^^^^^ help: use `dyn`: `dyn SomeTrait`
    |
-   = note: Warning forced by `force-warns` commandline option
+   = note: warning forced by `force-warns` commandline option
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>