Ingvar Stepanyan d7650863ab Fix or suppress {primitive}::new warnings in tests
Constructing boxed primitives was deprecated in #1447.

Some tests have been still using these methods, so this PR either updates them to use newly added {primitive}::from implementations or adds `#[allow(deprecated)]` where necessary.
2019-04-17 18:25:45 +01:00
..
2019-04-11 07:39:45 -07:00
2019-04-16 10:52:27 -07:00
2019-04-16 10:52:27 -07:00
2019-04-16 10:52:27 -07:00
2019-04-11 07:39:45 -07:00
2019-04-11 07:39:45 -07:00
2019-04-16 10:52:27 -07:00
2019-04-11 07:39:45 -07:00
2019-04-11 07:39:45 -07:00
2019-04-11 07:39:45 -07:00
2019-04-11 07:39:45 -07:00
2018-11-27 12:07:59 -08:00
2019-04-01 19:45:53 -03:00
2019-04-11 07:39:45 -07:00
2019-04-16 10:52:27 -07:00
2019-04-16 10:52:27 -07:00