mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Upgrade to rustc 1.40.0-nightly (ddf43867a 2019-09-26)
This commit is contained in:
parent
5fd4467cb3
commit
d324a2519f
3 changed files with 4 additions and 4 deletions
|
@ -94,7 +94,7 @@ fn get_webidl_path(struct_name: &str) -> io::Result<path::PathBuf> {
|
|||
fn is_webidl_ty(symbols: &crate::Symbols, cx: &LateContext, ty: &ty::TyS) -> bool {
|
||||
let mut ret = false;
|
||||
ty.maybe_walk(|t| {
|
||||
match t.sty {
|
||||
match t.kind {
|
||||
ty::Adt(did, _substs) => {
|
||||
if cx.tcx.has_attr(did.did, symbols.webidl) {
|
||||
ret = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue