diff options
Diffstat (limited to 'src/test/ui/issues/issue-36836.rs')
-rw-r--r-- | src/test/ui/issues/issue-36836.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/issues/issue-36836.rs b/src/test/ui/issues/issue-36836.rs deleted file mode 100644 index 99c562131..000000000 --- a/src/test/ui/issues/issue-36836.rs +++ /dev/null @@ -1,15 +0,0 @@ -// Previously, in addition to the real cause of the problem as seen below, -// the compiler would tell the user: -// -// ``` -// error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or -// predicates -// ``` -// -// With this test, we check that only the relevant error is emitted. - -trait Foo {} - -impl<T> Foo for Bar<T> {} //~ ERROR cannot find type `Bar` in this scope - -fn main() {} |