We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e7144a commit 61d4a3fCopy full SHA for 61d4a3f
tests/ui/type-alias/type-param.rs
@@ -1,7 +1,7 @@
1
//@ run-pass
2
-// This test ensures that type aliases can correctly accept and use type parameters.
3
-// Specifically, it checks that a type alias like `type Foo<T> = ...`
4
-// can be instantiated with a type argument without causing a compilation error.
+// This is a smoke test to ensure that type aliases with type parameters
+// are accepted by the compiler and that the parameters are correctly
+// resolved in the aliased item type.
5
6
#![allow(dead_code)]
7
0 commit comments