diff --git a/tests/ui/derives/issue-91492.rs b/tests/ui/derives/issue-91492.rs index df792f118ab76..b28def9db2423 100644 --- a/tests/ui/derives/issue-91492.rs +++ b/tests/ui/derives/issue-91492.rs @@ -13,7 +13,7 @@ fn fun2(foo: &mut Vec, bar: &[SomeDerives]) { } // Try and fail to reproduce the issue without vec. -// No idea why it doesnt reproduce the issue but its still a useful test case. +// No idea why it doesn't reproduce the issue but its still a useful test case. struct Object(T, A); impl Object { fn use_clone(&self) {} diff --git a/tests/ui/linkage-attr/unstable-flavor.rs b/tests/ui/linkage-attr/unstable-flavor.rs index 82d9dff38741c..b92ca910d2e1e 100644 --- a/tests/ui/linkage-attr/unstable-flavor.rs +++ b/tests/ui/linkage-attr/unstable-flavor.rs @@ -1,4 +1,4 @@ -// Even though this test only checks 2 of the 10 or so unstable linker flavors, it exercizes the +// Even though this test only checks 2 of the 10 or so unstable linker flavors, it exercises the // unique codepath checking all unstable options (see `LinkerFlavorCli::is_unstable` and its // caller). If it passes, all the other unstable options are rejected as well. // diff --git a/tests/ui/traits/alias/self-in-generics.rs b/tests/ui/traits/alias/self-in-generics.rs index 433b741532d6c..1c0c4c4312410 100644 --- a/tests/ui/traits/alias/self-in-generics.rs +++ b/tests/ui/traits/alias/self-in-generics.rs @@ -1,4 +1,4 @@ -// HIR ty lowering uses `FreshTy(0)` as a dummy `Self` type when instanciating trait objects. +// HIR ty lowering uses `FreshTy(0)` as a dummy `Self` type when instantiating trait objects. // This `FreshTy(0)` can leak into substs, causing ICEs in several places. #![feature(trait_alias)] diff --git a/tests/ui/traits/next-solver/cycles/inductive-cycle-but-ok.rs b/tests/ui/traits/next-solver/cycles/inductive-cycle-but-ok.rs index edcf2e5472b49..2e283f2263ea3 100644 --- a/tests/ui/traits/next-solver/cycles/inductive-cycle-but-ok.rs +++ b/tests/ui/traits/next-solver/cycles/inductive-cycle-but-ok.rs @@ -11,7 +11,7 @@ // - candidate: overflow-impl // - `Root: Trait` (inductive cycle ~> OVERFLOW) // - candidate: trivial-impl ~> YES -// - merge respones ~> YES +// - merge response ~> YES // - `MultipleCandidates: Trait` (in provisional cache ~> OVERFLOW) // // We previously incorrectly treated the `MultipleCandidates: Trait` as diff --git a/tests/ui/traits/next-solver/cycles/provisional-cache-impacts-behavior.rs b/tests/ui/traits/next-solver/cycles/provisional-cache-impacts-behavior.rs index b005b909aedbe..a843be4e14e41 100644 --- a/tests/ui/traits/next-solver/cycles/provisional-cache-impacts-behavior.rs +++ b/tests/ui/traits/next-solver/cycles/provisional-cache-impacts-behavior.rs @@ -43,7 +43,7 @@ // // Theoretically, this can result in observable behavior differences // due to incompleteness. However, this would require a very convoluted -// example and would still be sound. The difference is determinstic +// example and would still be sound. The difference is deterministic // and can not be observed outside of the cycle itself as we don't move // non-root cycle participants into the global cache. //