diff options
Diffstat (limited to 'src/test/ui/traits/false-ambiguity-where-clause-builtin-bound.rs')
-rw-r--r-- | src/test/ui/traits/false-ambiguity-where-clause-builtin-bound.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/traits/false-ambiguity-where-clause-builtin-bound.rs b/src/test/ui/traits/false-ambiguity-where-clause-builtin-bound.rs deleted file mode 100644 index 3413db6a6..000000000 --- a/src/test/ui/traits/false-ambiguity-where-clause-builtin-bound.rs +++ /dev/null @@ -1,16 +0,0 @@ -// run-pass -// Test that we do not error out because of a (False) ambiguity -// between the builtin rules for Sized and the where clause. Issue -// #20959. - -// pretty-expanded FIXME #23616 - -fn foo<K>(x: Option<K>) - where Option<K> : Sized -{ - let _y = x; -} - -fn main() { - foo(Some(22)); -} |