]> git.lizzy.rs Git - rust.git/commitdiff
Merge pull request #3918 from matthiaskrgr/typos
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 7 Apr 2019 08:29:51 +0000 (10:29 +0200)
committerGitHub <noreply@github.com>
Sun, 7 Apr 2019 08:29:51 +0000 (10:29 +0200)
NFC: fix typos

30 files changed:
tests/ui/crashes/associated-constant-ice.rs
tests/ui/crashes/cc_seme.rs
tests/ui/crashes/enum-glob-import-crate.rs
tests/ui/crashes/ice-1588.rs
tests/ui/crashes/ice-1782.rs
tests/ui/crashes/ice-1969.rs
tests/ui/crashes/ice-2499.rs
tests/ui/crashes/ice-2594.rs
tests/ui/crashes/ice-2727.rs
tests/ui/crashes/ice-2760.rs
tests/ui/crashes/ice-2774.rs
tests/ui/crashes/ice-2865.rs
tests/ui/crashes/ice-3151.rs
tests/ui/crashes/ice-3462.rs
tests/ui/crashes/ice-3747.rs
tests/ui/crashes/ice-700.rs
tests/ui/crashes/ice_exacte_size.rs
tests/ui/crashes/if_same_then_else.rs
tests/ui/crashes/issue-2862.rs
tests/ui/crashes/issue-825.rs
tests/ui/crashes/issues_loop_mut_cond.rs
tests/ui/crashes/match_same_arms_const.rs
tests/ui/crashes/mut_mut_macro.rs
tests/ui/crashes/needless_borrow_fp.rs
tests/ui/crashes/needless_lifetimes_impl_trait.rs
tests/ui/crashes/procedural_macro.rs
tests/ui/crashes/regressions.rs
tests/ui/crashes/returns.rs
tests/ui/crashes/single-match-else.rs
tests/ui/crashes/used_underscore_binding_macro.rs

index 948deba3ea6e3cb766a37360eba6816ed5ddfd0a..4bb833795bb167bbdd70c71f9944966e2b28a6d3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 /// Test for https://github.com/rust-lang/rust-clippy/issues/1698
 
 pub trait Trait {
index 98588be9cf82939cf9e924ac63ad1e305dd0b90d..c48c7e9e6c6ba075568f5622a3522bf9c92688c3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #[allow(dead_code)]
 
 /// Test for https://github.com/rust-lang/rust-clippy/issues/478
index dca32aa3b5615e25a2b5987fa56a02ef4bbc2e3d..db1fa871afe0050c4d10bb3dbb45746a613f7d12 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(clippy::all)]
 #![allow(unused_imports)]
 
index b0a3d11bce4635a1d0745a07912566b986a62544..15d0f705b367f49b696065c971a7724151b231a8 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(clippy::all)]
 
 /// Test for https://github.com/rust-lang/rust-clippy/issues/1588
index 81af88962a64d67b70e232c1010151c382f91944..1ca6b6976b38f6a6485b089bd86304feb58d2843 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code, unused_variables)]
 
 /// Should not trigger an ICE in `SpanlessEq` / `consts::constant`
index 96a8fe6c24d5610f8a16df06f98df43020e8c4a2..837ec9df31ab107e8da528b818b55c2480d94ee1 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(clippy::all)]
 
 /// Test for https://github.com/rust-lang/rust-clippy/issues/1969
index 45b3b1869dde614e98273f1ea6b890561eaa363f..ffef1631775eeb8c3e415fc900ca2e7a1e60ea77 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code, clippy::char_lit_as_u8, clippy::needless_bool)]
 
 /// Should not trigger an ICE in `SpanlessHash` / `consts::constant`
index 3f3986b6fc69294feb25ed0aed8076648b48d500..ac19f1976e91207ad37a1b0c996aee69955c9c65 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code, unused_variables)]
 
 /// Should not trigger an ICE in `SpanlessHash` / `consts::constant`
index 56024abc8f58dff58cc2141a06522c6dc1a3a737..d832c2860332d0b1b25e062de26437e5ef699210 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 /// Test for https://github.com/rust-lang/rust-clippy/issues/2727
 
 pub fn f(new: fn()) {
index f1a229f3f4faf3a706ee0e721ad6c26b973b6135..9e5e299c336a518ca68a137efd5a6738925413f6 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(
     unused_variables,
     clippy::blacklisted_name,
index d44b0fae82001b3824b2a83c8d44e74eddacb0d8..47f8e3b18eeaa217b16d62787769dd16db8ec9c1 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::collections::HashSet;
 
 // See rust-lang/rust-clippy#2774.
index 6b1ceb5056933df6ee6bc782f118fcad3c1a7e72..c4f6c0fed6820ef715939ac07984badb522b52cf 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #[allow(dead_code)]
 
 /// Test for https://github.com/rust-lang/rust-clippy/issues/2865
index fef4d7db84ddf0d23a5671dab0d0791b6bf90db5..ffad2d06b56e249e21e9b585ddd931d6ef31729e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 /// Test for https://github.com/rust-lang/rust-clippy/issues/2865
 
 #[derive(Clone)]
index 7d62e315da2fca1912c2c12a3651c4c8c59d1bac..95c7dff9be36b5522da3e2faa65d36b117d73a03 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![warn(clippy::all)]
 #![allow(clippy::blacklisted_name)]
 #![allow(unused)]
index cdf018cbc88d8426193b2951d64734312df50dc2..d0b44ebafeeb22e7d85738bce954dd12e5e6278d 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 /// Test for https://github.com/rust-lang/rust-clippy/issues/3747
 
 macro_rules! a {
index 0cbceedbd6bdb195dd421a919eef50131c20ccb6..b06df83d51a5bf932b908fbfe448356219243a66 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(clippy::all)]
 
 /// Test for https://github.com/rust-lang/rust-clippy/issues/700
index 30e4b11ec0bd450bcebc7c57465649e037f45e21..e02eb28ab8650c54b4842dfe0d5a40a099827fd2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(clippy::all)]
 
 /// Test for https://github.com/rust-lang/rust-clippy/issues/1336
index 7b3b881316df6c3e8a31851b806d5284e5ea00ff..b2a4d541f5995dd5a6ee327bb25be204f4387f06 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(clippy::if_same_then_else)]
 
 /// Test for https://github.com/rust-lang/rust-clippy/issues/2426
index 38e2341e2782975d9ec5d9b904f9ca9470d3ed7f..3587a08eab7e7d3e3129844fb72bd04757725dc9 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 /// Test for https://github.com/rust-lang/rust-clippy/issues/2826
 
 pub trait FooMap {
index 05696e3d7d56f65050b3ca486145e04ca7717f38..3d4a88ab3c4e5dbfc59f3d39a053ff9cf36a2726 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(warnings)]
 
 /// Test for https://github.com/rust-lang/rust-clippy/issues/825
index bb238c81ebc05376a3a60ffe49442101d5202b00..c4acd5cda1b0a5f9dc133e032944113d8e1fd567 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 /// Issue: https://github.com/rust-lang/rust-clippy/issues/2596
index 94c939665e6168a4e168e3f6cd3be91a3d0b7273..848f0ea52ca5e5d77765bf815ae9ddf6090cb701 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(clippy::match_same_arms)]
 
 /// Test for https://github.com/rust-lang/rust-clippy/issues/2427
index 6ce3b37a855f9d77445754b09f8ec40ae1630a52..14219f574c5961506935c6a86103a4718c08bd90 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(clippy::mut_mut, clippy::zero_ptr, clippy::cmp_nan)]
 #![allow(dead_code)]
 
index 4f61c76828db8a00d57382a6f744ea49d856d781..48507efe1e98be8a282e0ab2f56e1b03836d5736 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #[deny(clippy::all)]
 #[derive(Debug)]
 pub enum Error {
index 676564b2445d506185bb5d9bafe68c15ab3538a9..bd1fa4a0b1ef297d503753a99513436a4e1ec7f5 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(clippy::needless_lifetimes)]
 #![allow(dead_code)]
 
index c7468493380c8eb3f994279c32102242fd477fc3..f79d9ab6460b893bf7911c2f79cabc038c58cdc5 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #[macro_use]
 extern crate clippy_mini_macro_test;
 
index 84470addd4a07eee2ebc6021337b485d20996a25..623ae51f9f08cf43390d23067c9a5343a3edc3d3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(clippy::blacklisted_name)]
 
 pub fn foo(bar: *const u8) {
index 8021ed4607dde798fea85e4031c9ae33a6710924..f2153efc3880060a62b693008c2f8d9d854cf761 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 /// Test for https://github.com/rust-lang/rust-clippy/issues/1346
 
 #[deny(warnings)]
index 1ba7ac082132ff46c8087f940666cda16f4705c5..3a4bbe310ccaa8c2913f0eb595c70cacc57bcc4a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![warn(clippy::single_match_else)]
 
 //! Test for https://github.com/rust-lang/rust-clippy/issues/1588
index 6d2124c12fe98addb011233f1b737aa6077c341c..265017c51d92452be0236c06f1d6895a90bea1d5 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(clippy::useless_attribute)] //issue #2910
 
 #[macro_use]