1error[E0106]: missing lifetime specifiers 2 --> $DIR/missing-lifetime-specifier.rs:18:44 3 | 4LL | 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 8help: consider using the `'static` lifetime 9 | 10LL | static a: RefCell<HashMap<i32, Vec<Vec<Foo<'static, 'static>>>>> = RefCell::new(HashMap::new()); 11 | ++++++++++++++++++ 12 13error[E0106]: missing lifetime specifiers 14 --> $DIR/missing-lifetime-specifier.rs:18:44 15 | 16LL | / thread_local! { 17LL | | static a: RefCell<HashMap<i32, Vec<Vec<Foo>>>> = RefCell::new(HashMap::new()); 18 | | ^^^ expected 2 lifetime parameters 19LL | | 20LL | | 21LL | | } 22 | |_- 23 | 24 = help: this function's return type contains a borrowed value, but the signature does not say which one of `init`'s 3 lifetimes it is borrowed from 25 26error[E0106]: missing lifetime specifiers 27 --> $DIR/missing-lifetime-specifier.rs:23:44 28 | 29LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new()); 30 | ^^^^ expected 2 lifetime parameters 31 | | 32 | expected named lifetime parameter 33 | 34 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from 35help: consider using the `'static` lifetime 36 | 37LL | static b: RefCell<HashMap<i32, Vec<Vec<&'static Bar<'static, 'static>>>>> = RefCell::new(HashMap::new()); 38 | +++++++ ++++++++++++++++++ 39 40error[E0106]: missing lifetime specifiers 41 --> $DIR/missing-lifetime-specifier.rs:23:44 42 | 43LL | / thread_local! { 44LL | | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new()); 45 | | ^^^^ expected 2 lifetime parameters 46 | | | 47 | | expected named lifetime parameter 48LL | | 49LL | | 50LL | | } 51 | |_- 52 | 53 = help: this function's return type contains a borrowed value, but the signature does not say which one of `init`'s 4 lifetimes it is borrowed from 54 55error[E0106]: missing lifetime specifiers 56 --> $DIR/missing-lifetime-specifier.rs:28:47 57 | 58LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new()); 59 | ^ expected 2 lifetime parameters 60 | 61 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from 62help: consider using the `'static` lifetime 63 | 64LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 65 | +++++++++++++++++ 66 67error[E0106]: missing lifetime specifiers 68 --> $DIR/missing-lifetime-specifier.rs:28:47 69 | 70LL | / thread_local! { 71LL | | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new()); 72 | | ^ expected 2 lifetime parameters 73LL | | 74LL | | 75LL | | } 76 | |_- 77 | 78 = help: this function's return type contains a borrowed value, but the signature does not say which one of `init`'s 3 lifetimes it is borrowed from 79 80error[E0106]: missing lifetime specifiers 81 --> $DIR/missing-lifetime-specifier.rs:33:44 82 | 83LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new()); 84 | ^ ^ expected 2 lifetime parameters 85 | | 86 | expected named lifetime parameter 87 | 88 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from 89help: consider using the `'static` lifetime 90 | 91LL | static d: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 92 | +++++++ +++++++++++++++++ 93 94error[E0106]: missing lifetime specifiers 95 --> $DIR/missing-lifetime-specifier.rs:33:44 96 | 97LL | / thread_local! { 98LL | | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new()); 99 | | ^ ^ expected 2 lifetime parameters 100 | | | 101 | | expected named lifetime parameter 102LL | | 103LL | | 104LL | | } 105 | |_- 106 | 107 = help: this function's return type contains a borrowed value, but the signature does not say which one of `init`'s 4 lifetimes it is borrowed from 108 109error[E0106]: missing lifetime specifier 110 --> $DIR/missing-lifetime-specifier.rs:47:44 111 | 112LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); 113 | ^ expected named lifetime parameter 114 | 115 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from 116help: consider using the `'static` lifetime 117 | 118LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); 119 | +++++++ 120 121error[E0106]: missing lifetime specifier 122 --> $DIR/missing-lifetime-specifier.rs:47:44 123 | 124LL | / thread_local! { 125LL | | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); 126 | | ^ expected named lifetime parameter 127LL | | 128LL | | 129... | 130LL | | 131LL | | } 132 | |_- 133 | 134 = help: this function's return type contains a borrowed value, but the signature does not say which one of `init`'s 3 lifetimes it is borrowed from 135 136error[E0107]: union takes 2 lifetime arguments but 1 lifetime argument was supplied 137 --> $DIR/missing-lifetime-specifier.rs:39:44 138 | 139LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new()); 140 | ^^^ ------- supplied 1 lifetime argument 141 | | 142 | expected 2 lifetime arguments 143 | 144note: union defined here, with 2 lifetime parameters: `'t`, `'k` 145 --> $DIR/missing-lifetime-specifier.rs:11:11 146 | 147LL | pub union Qux<'t, 'k, I> { 148 | ^^^ -- -- 149help: add missing lifetime argument 150 | 151LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 152 | +++++++++ 153 154error[E0107]: union takes 2 lifetime arguments but 1 lifetime argument was supplied 155 --> $DIR/missing-lifetime-specifier.rs:39:44 156 | 157LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new()); 158 | ^^^ ------- supplied 1 lifetime argument 159 | | 160 | expected 2 lifetime arguments 161 | 162note: union defined here, with 2 lifetime parameters: `'t`, `'k` 163 --> $DIR/missing-lifetime-specifier.rs:11:11 164 | 165LL | pub union Qux<'t, 'k, I> { 166 | ^^^ -- -- 167help: add missing lifetime argument 168 | 169LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 170 | +++++++++ 171 172error[E0107]: union takes 2 lifetime arguments but 1 lifetime argument was supplied 173 --> $DIR/missing-lifetime-specifier.rs:39:44 174 | 175LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new()); 176 | ^^^ ------- supplied 1 lifetime argument 177 | | 178 | expected 2 lifetime arguments 179 | 180note: union defined here, with 2 lifetime parameters: `'t`, `'k` 181 --> $DIR/missing-lifetime-specifier.rs:11:11 182 | 183LL | pub union Qux<'t, 'k, I> { 184 | ^^^ -- -- 185help: add missing lifetime argument 186 | 187LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 188 | +++++++++ 189 190error[E0107]: union takes 2 lifetime arguments but 1 lifetime argument was supplied 191 --> $DIR/missing-lifetime-specifier.rs:39:44 192 | 193LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new()); 194 | ^^^ ------- supplied 1 lifetime argument 195 | | 196 | expected 2 lifetime arguments 197 | 198note: union defined here, with 2 lifetime parameters: `'t`, `'k` 199 --> $DIR/missing-lifetime-specifier.rs:11:11 200 | 201LL | pub union Qux<'t, 'k, I> { 202 | ^^^ -- -- 203help: add missing lifetime argument 204 | 205LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 206 | +++++++++ 207 208error[E0107]: union takes 2 lifetime arguments but 1 lifetime argument was supplied 209 --> $DIR/missing-lifetime-specifier.rs:39:44 210 | 211LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new()); 212 | ^^^ ------- supplied 1 lifetime argument 213 | | 214 | expected 2 lifetime arguments 215 | 216note: union defined here, with 2 lifetime parameters: `'t`, `'k` 217 --> $DIR/missing-lifetime-specifier.rs:11:11 218 | 219LL | pub union Qux<'t, 'k, I> { 220 | ^^^ -- -- 221help: add missing lifetime argument 222 | 223LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 224 | +++++++++ 225 226error[E0107]: trait takes 2 lifetime arguments but 1 lifetime argument was supplied 227 --> $DIR/missing-lifetime-specifier.rs:47:45 228 | 229LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); 230 | ^^^ ------- supplied 1 lifetime argument 231 | | 232 | expected 2 lifetime arguments 233 | 234note: trait defined here, with 2 lifetime parameters: `'t`, `'k` 235 --> $DIR/missing-lifetime-specifier.rs:15:7 236 | 237LL | trait Tar<'t, 'k, I> {} 238 | ^^^ -- -- 239help: add missing lifetime argument 240 | 241LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 242 | +++++++++ 243 244error[E0107]: trait takes 2 lifetime arguments but 1 lifetime argument was supplied 245 --> $DIR/missing-lifetime-specifier.rs:47:45 246 | 247LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); 248 | ^^^ ------- supplied 1 lifetime argument 249 | | 250 | expected 2 lifetime arguments 251 | 252note: trait defined here, with 2 lifetime parameters: `'t`, `'k` 253 --> $DIR/missing-lifetime-specifier.rs:15:7 254 | 255LL | trait Tar<'t, 'k, I> {} 256 | ^^^ -- -- 257help: add missing lifetime argument 258 | 259LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 260 | +++++++++ 261 262error[E0107]: trait takes 2 lifetime arguments but 1 lifetime argument was supplied 263 --> $DIR/missing-lifetime-specifier.rs:47:45 264 | 265LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); 266 | ^^^ ------- supplied 1 lifetime argument 267 | | 268 | expected 2 lifetime arguments 269 | 270note: trait defined here, with 2 lifetime parameters: `'t`, `'k` 271 --> $DIR/missing-lifetime-specifier.rs:15:7 272 | 273LL | trait Tar<'t, 'k, I> {} 274 | ^^^ -- -- 275help: add missing lifetime argument 276 | 277LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 278 | +++++++++ 279 280error[E0107]: trait takes 2 lifetime arguments but 1 lifetime argument was supplied 281 --> $DIR/missing-lifetime-specifier.rs:47:45 282 | 283LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); 284 | ^^^ ------- supplied 1 lifetime argument 285 | | 286 | expected 2 lifetime arguments 287 | 288note: trait defined here, with 2 lifetime parameters: `'t`, `'k` 289 --> $DIR/missing-lifetime-specifier.rs:15:7 290 | 291LL | trait Tar<'t, 'k, I> {} 292 | ^^^ -- -- 293help: add missing lifetime argument 294 | 295LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 296 | +++++++++ 297 298error[E0107]: trait takes 2 lifetime arguments but 1 lifetime argument was supplied 299 --> $DIR/missing-lifetime-specifier.rs:47:45 300 | 301LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new()); 302 | ^^^ ------- supplied 1 lifetime argument 303 | | 304 | expected 2 lifetime arguments 305 | 306note: trait defined here, with 2 lifetime parameters: `'t`, `'k` 307 --> $DIR/missing-lifetime-specifier.rs:15:7 308 | 309LL | trait Tar<'t, 'k, I> {} 310 | ^^^ -- -- 311help: add missing lifetime argument 312 | 313LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new()); 314 | +++++++++ 315 316error: aborting due to 20 previous errors 317 318Some errors have detailed explanations: E0106, E0107. 319For more information about an error, try `rustc --explain E0106`. 320