|
| 1 | +error[E0106]: missing lifetime specifiers |
| 2 | + --> $DIR/missing-lifetime-specifier.rs:18:44 |
| 3 | + | |
| 4 | +LL | static a: RefCell<HashMap<i32, Vec<Vec<Foo>>>> = RefCell::new(HashMap::new()); |
| 5 | + | ^^^ expected 2 lifetime parameters |
| 6 | + | |
| 7 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 8 | +help: consider using the `'static` lifetime |
| 9 | + | |
| 10 | +LL | static a: RefCell<HashMap<i32, Vec<Vec<Foo<'static, 'static>>>>> = RefCell::new(HashMap::new()); |
| 11 | + | ^^^^^^^^^^^^^^^^^^^^^ |
| 12 | + |
| 13 | +error[E0106]: missing lifetime specifiers |
| 14 | + --> $DIR/missing-lifetime-specifier.rs:18:44 |
| 15 | + | |
| 16 | +LL | static a: RefCell<HashMap<i32, Vec<Vec<Foo>>>> = RefCell::new(HashMap::new()); |
| 17 | + | ^^^ expected 2 lifetime parameters |
| 18 | + | |
| 19 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 20 | +help: consider using the `'static` lifetime |
| 21 | + | |
| 22 | +LL | static a: RefCell<HashMap<i32, Vec<Vec<Foo<'static, 'static>>>>> = RefCell::new(HashMap::new()); |
| 23 | + | ^^^^^^^^^^^^^^^^^^^^^ |
| 24 | + |
| 25 | +error[E0106]: missing lifetime specifier |
| 26 | + --> $DIR/missing-lifetime-specifier.rs:23:44 |
| 27 | + | |
| 28 | +LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new()); |
| 29 | + | ^ expected named lifetime parameter |
| 30 | + | |
| 31 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 32 | +help: consider using the `'static` lifetime |
| 33 | + | |
| 34 | +LL | static b: RefCell<HashMap<i32, Vec<Vec<&'static Bar>>>> = RefCell::new(HashMap::new()); |
| 35 | + | ^^^^^^^^ |
| 36 | + |
| 37 | +error[E0106]: missing lifetime specifiers |
| 38 | + --> $DIR/missing-lifetime-specifier.rs:23:45 |
| 39 | + | |
| 40 | +LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new()); |
| 41 | + | ^^^ expected 2 lifetime parameters |
| 42 | + | |
| 43 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 44 | +help: consider using the `'static` lifetime |
| 45 | + | |
| 46 | +LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar<'static, 'static>>>>> = RefCell::new(HashMap::new()); |
| 47 | + | ^^^^^^^^^^^^^^^^^^^^^ |
| 48 | + |
| 49 | +error[E0106]: missing lifetime specifier |
| 50 | + --> $DIR/missing-lifetime-specifier.rs:23:44 |
| 51 | + | |
| 52 | +LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new()); |
| 53 | + | ^ expected named lifetime parameter |
| 54 | + | |
| 55 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 56 | +help: consider using the `'static` lifetime |
| 57 | + | |
| 58 | +LL | static b: RefCell<HashMap<i32, Vec<Vec<&'static Bar>>>> = RefCell::new(HashMap::new()); |
| 59 | + | ^^^^^^^^ |
| 60 | + |
| 61 | +error[E0106]: missing lifetime specifiers |
| 62 | + --> $DIR/missing-lifetime-specifier.rs:23:45 |
| 63 | + | |
| 64 | +LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new()); |
| 65 | + | ^^^ expected 2 lifetime parameters |
| 66 | + | |
| 67 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 68 | +help: consider using the `'static` lifetime |
| 69 | + | |
| 70 | +LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar<'static, 'static>>>>> = RefCell::new(HashMap::new()); |
| 71 | + | ^^^^^^^^^^^^^^^^^^^^^ |
| 72 | + |
| 73 | +error[E0106]: missing lifetime specifiers |
| 74 | + --> $DIR/missing-lifetime-specifier.rs:32:48 |
| 75 | + | |
| 76 | +LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new()); |
| 77 | + | ^ expected 2 lifetime parameters |
| 78 | + | |
| 79 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 80 | +help: consider using the `'static` lifetime |
| 81 | + | |
| 82 | +LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 83 | + | ^^^^^^^^^^^^^^^^^ |
| 84 | + |
| 85 | +error[E0106]: missing lifetime specifiers |
| 86 | + --> $DIR/missing-lifetime-specifier.rs:32:48 |
| 87 | + | |
| 88 | +LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new()); |
| 89 | + | ^ expected 2 lifetime parameters |
| 90 | + | |
| 91 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 92 | +help: consider using the `'static` lifetime |
| 93 | + | |
| 94 | +LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 95 | + | ^^^^^^^^^^^^^^^^^ |
| 96 | + |
| 97 | +error[E0106]: missing lifetime specifier |
| 98 | + --> $DIR/missing-lifetime-specifier.rs:37:44 |
| 99 | + | |
| 100 | +LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new()); |
| 101 | + | ^ expected named lifetime parameter |
| 102 | + | |
| 103 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 104 | +help: consider using the `'static` lifetime |
| 105 | + | |
| 106 | +LL | static d: RefCell<HashMap<i32, Vec<Vec<&'static Tar<i32>>>>> = RefCell::new(HashMap::new()); |
| 107 | + | ^^^^^^^^ |
| 108 | + |
| 109 | +error[E0106]: missing lifetime specifiers |
| 110 | + --> $DIR/missing-lifetime-specifier.rs:37:49 |
| 111 | + | |
| 112 | +LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new()); |
| 113 | + | ^ expected 2 lifetime parameters |
| 114 | + | |
| 115 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 116 | +help: consider using the `'static` lifetime |
| 117 | + | |
| 118 | +LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 119 | + | ^^^^^^^^^^^^^^^^^ |
| 120 | + |
| 121 | +error[E0106]: missing lifetime specifier |
| 122 | + --> $DIR/missing-lifetime-specifier.rs:37:44 |
| 123 | + | |
| 124 | +LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new()); |
| 125 | + | ^ expected named lifetime parameter |
| 126 | + | |
| 127 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 128 | +help: consider using the `'static` lifetime |
| 129 | + | |
| 130 | +LL | static d: RefCell<HashMap<i32, Vec<Vec<&'static Tar<i32>>>>> = RefCell::new(HashMap::new()); |
| 131 | + | ^^^^^^^^ |
| 132 | + |
| 133 | +error[E0106]: missing lifetime specifiers |
| 134 | + --> $DIR/missing-lifetime-specifier.rs:37:49 |
| 135 | + | |
| 136 | +LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new()); |
| 137 | + | ^ expected 2 lifetime parameters |
| 138 | + | |
| 139 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 140 | +help: consider using the `'static` lifetime |
| 141 | + | |
| 142 | +LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 143 | + | ^^^^^^^^^^^^^^^^^ |
| 144 | + |
| 145 | +error[E0106]: missing lifetime specifier |
| 146 | + --> $DIR/missing-lifetime-specifier.rs:54:44 |
| 147 | + | |
| 148 | +LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 149 | + | ^ expected named lifetime parameter |
| 150 | + | |
| 151 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 152 | +help: consider using the `'static` lifetime |
| 153 | + | |
| 154 | +LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 155 | + | ^^^^^^^^ |
| 156 | + |
| 157 | +error[E0106]: missing lifetime specifier |
| 158 | + --> $DIR/missing-lifetime-specifier.rs:54:44 |
| 159 | + | |
| 160 | +LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 161 | + | ^ expected named lifetime parameter |
| 162 | + | |
| 163 | + = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from |
| 164 | +help: consider using the `'static` lifetime |
| 165 | + | |
| 166 | +LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 167 | + | ^^^^^^^^ |
| 168 | + |
| 169 | +error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound |
| 170 | + --> $DIR/missing-lifetime-specifier.rs:23:45 |
| 171 | + | |
| 172 | +LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new()); |
| 173 | + | ^^^ |
| 174 | + |
| 175 | +error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound |
| 176 | + --> $DIR/missing-lifetime-specifier.rs:23:45 |
| 177 | + | |
| 178 | +LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new()); |
| 179 | + | ^^^ |
| 180 | + |
| 181 | +error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound |
| 182 | + --> $DIR/missing-lifetime-specifier.rs:37:45 |
| 183 | + | |
| 184 | +LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new()); |
| 185 | + | ^^^^^^^^ |
| 186 | + |
| 187 | +error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound |
| 188 | + --> $DIR/missing-lifetime-specifier.rs:37:45 |
| 189 | + | |
| 190 | +LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new()); |
| 191 | + | ^^^^^^^^ |
| 192 | + |
| 193 | +error[E0107]: wrong number of lifetime arguments: expected 2, found 1 |
| 194 | + --> $DIR/missing-lifetime-specifier.rs:47:44 |
| 195 | + | |
| 196 | +LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 197 | + | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments |
| 198 | + |
| 199 | +error[E0107]: wrong number of lifetime arguments: expected 2, found 1 |
| 200 | + --> $DIR/missing-lifetime-specifier.rs:47:44 |
| 201 | + | |
| 202 | +LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 203 | + | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments |
| 204 | + |
| 205 | +error[E0107]: wrong number of lifetime arguments: expected 2, found 1 |
| 206 | + --> $DIR/missing-lifetime-specifier.rs:47:44 |
| 207 | + | |
| 208 | +LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 209 | + | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments |
| 210 | + |
| 211 | +error[E0107]: wrong number of lifetime arguments: expected 2, found 1 |
| 212 | + --> $DIR/missing-lifetime-specifier.rs:47:44 |
| 213 | + | |
| 214 | +LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 215 | + | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments |
| 216 | + |
| 217 | +error[E0107]: wrong number of lifetime arguments: expected 2, found 1 |
| 218 | + --> $DIR/missing-lifetime-specifier.rs:54:45 |
| 219 | + | |
| 220 | +LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 221 | + | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments |
| 222 | + |
| 223 | +error[E0107]: wrong number of lifetime arguments: expected 2, found 1 |
| 224 | + --> $DIR/missing-lifetime-specifier.rs:54:45 |
| 225 | + | |
| 226 | +LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 227 | + | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments |
| 228 | + |
| 229 | +error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound |
| 230 | + --> $DIR/missing-lifetime-specifier.rs:54:45 |
| 231 | + | |
| 232 | +LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 233 | + | ^^^^^^^^^^^^^^^^^ |
| 234 | + |
| 235 | +error[E0107]: wrong number of lifetime arguments: expected 2, found 1 |
| 236 | + --> $DIR/missing-lifetime-specifier.rs:54:45 |
| 237 | + | |
| 238 | +LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 239 | + | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments |
| 240 | + |
| 241 | +error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound |
| 242 | + --> $DIR/missing-lifetime-specifier.rs:54:45 |
| 243 | + | |
| 244 | +LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 245 | + | ^^^^^^^^^^^^^^^^^ |
| 246 | + |
| 247 | +error[E0107]: wrong number of lifetime arguments: expected 2, found 1 |
| 248 | + --> $DIR/missing-lifetime-specifier.rs:54:45 |
| 249 | + | |
| 250 | +LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); |
| 251 | + | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments |
| 252 | + |
| 253 | +error: aborting due to 28 previous errors |
| 254 | + |
| 255 | +Some errors have detailed explanations: E0106, E0107. |
| 256 | +For more information about an error, try `rustc --explain E0106`. |
0 commit comments