Skip to content

Commit 61d4a3f

Browse files
committed
Modify comment type-param.rs
1 parent 7e7144a commit 61d4a3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ui/type-alias/type-param.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@ 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.
2+
// This is a smoke test to ensure that type aliases with type parameters
3+
// are accepted by the compiler and that the parameters are correctly
4+
// resolved in the aliased item type.
55

66
#![allow(dead_code)]
77

0 commit comments

Comments
 (0)