summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorChristopher Durham <cad97@cad97.com>2017-12-23 22:45:39 -0500
committerChristopher Durham <cad97@cad97.com>2017-12-30 21:41:58 -0500
commitd4077ad62152f1e1f1137afbdae76fcecee6fad0 (patch)
tree5a900caa7372dd69a807aae18ee97944195fdfa0 /src/test/rustdoc
parent8d4da4f4c4f097e6a95264cc527da64bfc133b0f (diff)
downloadrust-d4077ad62152f1e1f1137afbdae76fcecee6fad0.tar.gz
rust-d4077ad62152f1e1f1137afbdae76fcecee6fad0.zip
Hard break for rust-lang/rust#46976
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/issue-46976.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-46976.rs b/src/test/rustdoc/issue-46976.rs
new file mode 100644
index 00000000000..0df80fe3bd7
--- /dev/null
+++ b/src/test/rustdoc/issue-46976.rs
@@ -0,0 +1,12 @@
+// Copyright 2017 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.
+
+#![feature(universal_impl_trait)]
+pub fn ice(f: impl Fn()) {}