Enable all lints from the rust-2018-idioms suite.
Additionally, fix the violation of the bare-trait-objects lint.
MISC_DIR := $(call my-dir)
LOCAL_PATH := MISC_DIR
include $(MISC_DIR)/liblua/Android.mk
include $(MISC_DIR)/libphysfs/Android.mk
include $(MISC_DIR)/libphyslayer/Android.mk