We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fd7ce9 commit 3f35ab3Copy full SHA for 3f35ab3
compiler/rustc_middle/src/ty/sty.rs
@@ -2946,6 +2946,10 @@ impl<'tcx> Ty<'tcx> {
2946
}
2947
2948
2949
+ /// Whether the outermost type cannot be further normalized, resolved, or
2950
+ /// substituted. This includes all built-in types, but also things like
2951
+ /// ADTs and dynamic types, even if their arguments or nested types may be
2952
+ /// further simplified.
2953
pub fn is_known_rigid(self) -> bool {
2954
match self.kind() {
2955
Bool
0 commit comments