diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-20 21:40:37 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-20 21:40:37 +0530 |
| commit | 6bff14ffea5a3ca3f3b439b011954b521eb21a09 (patch) | |
| tree | af486d04ce48bd5aba9bb567e717b349e946fd4d /src | |
| parent | f50ae67ec2046e410ed070cff2f630a35dfe01ee (diff) | |
| parent | a6cc4dd308213390a53a53101424ca4ef2e351ab (diff) | |
| download | rust-6bff14ffea5a3ca3f3b439b011954b521eb21a09.tar.gz rust-6bff14ffea5a3ca3f3b439b011954b521eb21a09.zip | |
Rollup merge of #26451 - nham:fix_18058, r=arielb1
Fixes #18058.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/compile-fail/issue-18058.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/compile-fail/issue-18058.rs b/src/test/compile-fail/issue-18058.rs new file mode 100644 index 00000000000..bbb540200b4 --- /dev/null +++ b/src/test/compile-fail/issue-18058.rs @@ -0,0 +1,14 @@ +// Copyright 2015 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +impl Undefined {} +//~^ ERROR use of undeclared type name `Undefined` + +fn main() {} |
