The present invention relates to the technical field of medicines, and provides a fused ring compound, a pharmaceutical composition containing the same, and use of the fused ring compound. The compound has a structure as shown in formula (I), or a
tautomer, a mesomer, a racemat, an
enantiomer, a diastereoisomer or a mixture thereof, a
metabolite, a metabolic precursor, an
isotope substitution form, a pharmaceutically acceptable salt, a
hydrate, a solvate, a polymorph or a eutectic substance thereof. The compound provided by the present invention can be used for treating cancers caused by
KRAS mutation. The cancers caused by
KRAS mutation are selected from one or more cancers caused by
KRAS G12C, KRAS G12V, KRAS G12A and G12D mutations. In particular, the compound can serve as a G12D inhibitor and has relatively high inhibitory activity.