servo/components
yvt 065c59665c fix(script_plugins): replace TyCtxt::{get_attrs -> get_attrs_unchecked}
[rust-lang/rust#95562][1] renames the existing method `get_attrs` to
`get_attrs_unchecked` and introduces a new method in its former place.
The new method takes an attribute name and returns attributes of that
name. It also checks that, if the attribute name is marked as local-
only, the given `DefId` is local as well to prevent misuses. The old
method, now named `get_attrs_unchecked`, returns all attributes of a
given `DefId`; thus it's "unchecked" in the sense that it's up to the
callers to be certain whether the attributes they are looking for are
local-only.

The new `get_attrs` method lacks the support for attribute names with
more than one path component, which is why we can't just migrate to the
new `get_attrs` method here. Although `get_attrs_unchecked` is marked
for future removal in the compile source code, there's a discussion
about [supporting][2] this use case.

[1]: https://github.com/rust-lang/rust/pull/95562
[2]: https://github.com/rust-lang/rust/pull/95562/files#r915537557
2022-10-16 19:19:12 +09:00
..
allocator
atoms Implement GPUUncapturedErrorEvent 2020-08-11 14:24:58 +05:30
background_hang_monitor fix(bhm): deliver exit signal reliably (for real) 2021-06-21 00:07:26 +09:00
bluetooth feat: shorten thread names 2021-07-19 00:57:48 +09:00
bluetooth_traits Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
canvas Update font-kit. 2022-04-01 01:00:18 -04:00
canvas_traits Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
compositing Update image/png. 2022-04-01 02:07:17 -04:00
config Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
config_plugins Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
constellation Update keyboard-types. 2022-04-01 00:35:22 -04:00
deny_public_fields
derive_common Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
devtools Upgrade Hyper 2022-01-16 09:34:17 -08:00
devtools_traits Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
dom_struct
domobject_derive
embedder_traits Update keyboard-types. 2022-04-01 00:35:22 -04:00
fallible
geometry
gfx Format. 2022-04-02 15:10:47 -04:00
gfx_traits
hashglobe Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
jstraceable_derive
layout Add trace logs when assigning inline/block sizes 2022-04-17 16:18:32 +08:00
layout_2020 Remove env_logger duplicate. 2022-04-01 02:26:19 -04:00
layout_thread Update html5ever/xml5ever. 2022-04-01 01:43:26 -04:00
layout_thread_2020 fixup! Update parking_lot. 2022-04-01 01:47:49 -04:00
layout_traits
malloc_size_of Update cookie/hyper_serde. 2022-04-01 02:11:51 -04:00
media feat: shorten thread names 2021-07-19 00:57:48 +09:00
metrics
msg Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
net Update cookie/hyper_serde. 2022-04-01 02:11:51 -04:00
net_traits Auto merge of #28893 - EnnuiL:master, r=jdm 2022-08-15 18:16:23 -04:00
pixels
profile feat: shorten thread names 2021-07-19 00:57:48 +09:00
profile_traits Bump time to latest v0.1.x version. 2021-06-25 17:19:14 +01:00
rand
range
remutex
script Update cookie/hyper_serde. 2022-04-01 02:11:51 -04:00
script_layout_interface Update html5ever/xml5ever. 2022-04-01 01:43:26 -04:00
script_plugins fix(script_plugins): replace TyCtxt::{get_attrs -> get_attrs_unchecked} 2022-10-16 19:19:12 +09:00
script_traits Update cookie/hyper_serde. 2022-04-01 02:11:51 -04:00
selectors Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
servo Update keyboard-types. 2022-04-01 00:35:22 -04:00
servo_arc Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
size_of_test
std_test_override
style fixup! Update arrayvec. 2022-04-01 02:16:21 -04:00
style_derive Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
style_traits Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
to_shmem Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
to_shmem_derive Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
url feat: shorten thread names 2021-07-19 00:57:48 +09:00
webdriver_server Update cookie/hyper_serde. 2022-04-01 02:11:51 -04:00
webgpu fixup! Update arrayvec. 2022-04-01 01:44:27 -04:00
webrender_surfman Update to winit 0.24. 2021-03-05 20:00:30 -05:00
webrender_traits