]> git.proxmox.com Git - rustc.git/blob - src/test/ui/infinite/infinite-instantiation.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / infinite / infinite-instantiation.stderr
1 error: reached the recursion limit while instantiating `function::<Option<Option<Option<...>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>`
2 --> $DIR/infinite-instantiation.rs:22:9
3 |
4 LL | function(counter - 1, t.to_option());
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 note: `function` defined here
8 --> $DIR/infinite-instantiation.rs:20:1
9 |
10 LL | fn function<T:ToOpt + Clone>(counter: usize, t: T) {
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = note: the full type name has been written to '$TEST_BUILD_DIR/infinite/infinite-instantiation/infinite-instantiation.long-type.txt'
13
14 error: aborting due to previous error
15