diff options
Diffstat (limited to 'src/test/ui/nll/user-annotations/ascribed-type-wf.rs')
-rw-r--r-- | src/test/ui/nll/user-annotations/ascribed-type-wf.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/nll/user-annotations/ascribed-type-wf.rs b/src/test/ui/nll/user-annotations/ascribed-type-wf.rs deleted file mode 100644 index 14460dea5..000000000 --- a/src/test/ui/nll/user-annotations/ascribed-type-wf.rs +++ /dev/null @@ -1,16 +0,0 @@ -// check-pass -// known-bug: #101350 - -trait Trait { - type Ty; -} - -impl Trait for &'static () { - type Ty = (); -} - -fn extend<'a>() { - None::<<&'a () as Trait>::Ty>; -} - -fn main() {} |