diff options
Diffstat (limited to 'src/test/ui/type_length_limit.stderr')
-rw-r--r-- | src/test/ui/type_length_limit.stderr | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/ui/type_length_limit.stderr b/src/test/ui/type_length_limit.stderr new file mode 100644 index 000000000..1508b84c1 --- /dev/null +++ b/src/test/ui/type_length_limit.stderr @@ -0,0 +1,20 @@ +error: reached the type-length limit while instantiating `std::mem::drop::<Option<((((...,....., ...), ..., ...), ..., ...)>>` + --> $SRC_DIR/core/src/mem/mod.rs:LL:COL + | +LL | pub fn drop<T>(_x: T) {} + | ^^^^^^^^^^^^^^^^^^^^^ + | + = note: the full type name has been written to '$TEST_BUILD_DIR/type_length_limit/type_length_limit.long-type.txt' + = help: consider adding a `#![type_length_limit="8"]` attribute to your crate + +error: reached the type-length limit while instantiating `<[closure@std::rt::lang_start<()...e<()>>::call_once - shim(vtable)` + --> $SRC_DIR/core/src/ops/function.rs:LL:COL + | +LL | extern "rust-call" fn call_once(self, args: Args) -> Self::Output; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: the full type name has been written to '$TEST_BUILD_DIR/type_length_limit/type_length_limit.long-type.txt' + = help: consider adding a `#![type_length_limit="8"]` attribute to your crate + +error: aborting due to 2 previous errors + |